summary refs log tree commit diff
path: root/pkgs/applications/office/gtg/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-08-27 14:34:43 +0000
committerAlyssa Ross <hi@alyssa.is>2020-08-27 14:34:43 +0000
commit23fa25640d5c67092f50d9f1663f832f8ea70bfe (patch)
tree67404489680e3006c3f0e5ea8921dd07437c3402 /pkgs/applications/office/gtg/default.nix
parentc901f337b8fed63ba0bb53674950ce4c7bf94dcd (diff)
parentea464f4b636ce1667e6e79b9f38707b730d93da3 (diff)
downloadnixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar
nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.gz
nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.bz2
nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.lz
nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.xz
nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.tar.zst
nixpkgs-23fa25640d5c67092f50d9f1663f832f8ea70bfe.zip
Merge branch 'upstream-merge' into master
Diffstat (limited to 'pkgs/applications/office/gtg/default.nix')
-rw-r--r--pkgs/applications/office/gtg/default.nix68
1 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix
new file mode 100644
index 00000000000..d990bc07ad2
--- /dev/null
+++ b/pkgs/applications/office/gtg/default.nix
@@ -0,0 +1,68 @@
+{ stdenv
+, fetchFromGitHub
+, meson
+, python3Packages
+, ninja
+, gtk3
+, wrapGAppsHook
+, glib
+, itstool
+, gettext
+, pango
+, gdk-pixbuf
+, gobject-introspection
+}:
+
+python3Packages.buildPythonApplication rec {
+  pname = "gtg";
+  version = "unstable-2020-08-02";
+
+  src = fetchFromGitHub {
+    owner = "getting-things-gnome";
+    repo = "gtg";
+    rev = "6623731f301c1b9c7b727e009f4a6462ad381c68";
+    sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1";
+  };
+
+
+  nativeBuildInputs = [
+    meson
+    ninja
+    itstool
+    gettext
+    wrapGAppsHook
+    gobject-introspection
+  ];
+
+  buildInputs = [
+    glib
+    gtk3
+    pango
+    gdk-pixbuf
+  ];
+
+  propagatedBuildInputs = with python3Packages; [
+    pycairo
+    pygobject3
+    lxml
+    dbus-python
+    gst-python
+    liblarch
+  ];
+
+  format = "other";
+  strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
+
+  meta = with stdenv.lib; {
+    description = " A personal tasks and TODO-list items organizer.";
+    longDescription = ''
+      "Getting Things GNOME" (GTG) is a personal tasks and ToDo list organizer inspired by the "Getting Things Done" (GTD) methodology.
+      GTG is intended to help you track everything you need to do and need to know, from small tasks to large projects.
+    '';
+    homepage = "https://wiki.gnome.org/Apps/GTG";
+    downloadPage = "https://github.com/getting-things-gnome/gtg/releases";
+    license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ oyren ];
+    platforms = platforms.linux;
+  };
+}