summary refs log tree commit diff
diff options
context:
space:
mode:
authorMoritz Scheuren <m.scheuren@oyra.eu>2020-08-04 19:18:47 +0200
committerJon <jonringer@users.noreply.github.com>2020-08-04 18:08:22 -0700
commit2d6c2690f66decc5c6379a6b0310497b03f63d1b (patch)
tree9f15021f8dbef29d0f61c3c9120562125b995222
parentba61b439212beca940bd4a32e0e139a262521d7d (diff)
downloadnixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.tar
nixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.tar.gz
nixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.tar.bz2
nixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.tar.lz
nixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.tar.xz
nixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.tar.zst
nixpkgs-2d6c2690f66decc5c6379a6b0310497b03f63d1b.zip
gtg: init at 0.4.0
-rw-r--r--pkgs/applications/office/gtg/default.nix73
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 75 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..5491f526c98
--- /dev/null
+++ b/pkgs/applications/office/gtg/default.nix
@@ -0,0 +1,73 @@
+{ stdenv
+, fetchFromGitHub
+, meson
+, python3Packages
+, pkgconfig
+, ninja
+, gtk3
+, wrapGAppsHook
+, glib
+, itstool
+, gettext
+, pango
+, gdk-pixbuf
+, gobject-introspection
+}:
+
+python3Packages.buildPythonApplication rec {
+  pname = "gtg";
+  version = "0.4";
+
+  src = fetchFromGitHub {
+      owner = "getting-things-gnome";
+      repo = "gtg";
+      rev = "6623731f301c1b9c7b727e009f4a6462ad381c68";
+      sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1";
+  };
+
+
+  nativeBuildInputs = [
+    meson
+    ninja
+    pkgconfig
+    wrapGAppsHook
+    gobject-introspection
+  ];
+
+  buildInputs = [
+    glib
+    gtk3
+    itstool
+    gettext
+    pango
+    gdk-pixbuf
+  ];
+
+  propagatedBuildInputs = with python3Packages; [
+    pycairo
+    pygobject3
+    lxml
+    dbus-python
+    gst-python
+    liblarch
+    pyxdg # can probably be removed after next release
+  ];
+
+  format = "other";
+  strictDeps = false;
+
+  meta = with stdenv.lib; {
+    description = "
+      Getting Things GNOME! (GTG) is a personal tasks and TODO-list items organizer for the GNOME desktop environment and inspired by the ''Getting Things Done'' (GTD) methodology.
+    ";
+    longDescription = "
+      GTG is designed with flexibility, adaptability, and ease of use in mind so it can be used as more than just GTD software.
+      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.gpl3Only;
+    maintainers = with maintainers; [ oyren ];
+    platforms = [ "x86_64-linux" ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 29a3ce3757d..358a0c32c0d 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -1998,6 +1998,8 @@ in
 
   gthree = callPackage ../development/libraries/gthree { };
 
+  gtg = callPackage ../applications/office/gtg { };
+
   gti = callPackage ../tools/misc/gti { };
 
   hdate = callPackage ../applications/misc/hdate { };