From 2d6c2690f66decc5c6379a6b0310497b03f63d1b Mon Sep 17 00:00:00 2001 From: Moritz Scheuren Date: Tue, 4 Aug 2020 19:18:47 +0200 Subject: [PATCH] gtg: init at 0.4.0 --- pkgs/applications/office/gtg/default.nix | 73 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 75 insertions(+) create mode 100644 pkgs/applications/office/gtg/default.nix diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix new file mode 100644 index 000000000000..5491f526c98e --- /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 29a3ce3757d7..358a0c32c0d4 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 { };