diff options
author | Moritz Scheuren <m.scheuren@oyra.eu> | 2020-08-05 13:12:04 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2020-08-05 18:02:20 +0200 |
commit | 31dde677a623e5972ce1ea817074579688b8cda3 (patch) | |
tree | 232084d1380f3b5b958ea3a9fe1698812284dbce /pkgs/applications/office | |
parent | 0aebcb9b6e356894d2ce6a89a63c0bad7d5f6c6e (diff) |
gtg: refactor (description, platform, version, requirement, formatting)
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/gtg/default.nix | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix index 5491f526c98e..30d1e3dbac5d 100644 --- a/pkgs/applications/office/gtg/default.nix +++ b/pkgs/applications/office/gtg/default.nix @@ -2,7 +2,6 @@ , fetchFromGitHub , meson , python3Packages -, pkgconfig , ninja , gtk3 , wrapGAppsHook @@ -16,20 +15,21 @@ python3Packages.buildPythonApplication rec { pname = "gtg"; - version = "0.4"; + version = "unstable-2020-08-02"; src = fetchFromGitHub { - owner = "getting-things-gnome"; - repo = "gtg"; - rev = "6623731f301c1b9c7b727e009f4a6462ad381c68"; - sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1"; + owner = "getting-things-gnome"; + repo = "gtg"; + rev = "6623731f301c1b9c7b727e009f4a6462ad381c68"; + sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1"; }; nativeBuildInputs = [ meson ninja - pkgconfig + itstool + gettext wrapGAppsHook gobject-introspection ]; @@ -37,8 +37,6 @@ python3Packages.buildPythonApplication rec { buildInputs = [ glib gtk3 - itstool - gettext pango gdk-pixbuf ]; @@ -50,24 +48,21 @@ python3Packages.buildPythonApplication rec { dbus-python gst-python liblarch - pyxdg # can probably be removed after next release ]; format = "other"; - strictDeps = false; + strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943) 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. + 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.gpl3Only; maintainers = with maintainers; [ oyren ]; - platforms = [ "x86_64-linux" ]; + platforms = platforms.linux; }; } |