Skip to content

Commit 31dde67

Browse files
oyrenjtojnar
authored andcommitted
gtg: refactor (description, platform, version, requirement, formatting)
1 parent 0aebcb9 commit 31dde67

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

pkgs/applications/office/gtg/default.nix

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
, fetchFromGitHub
33
, meson
44
, python3Packages
5-
, pkgconfig
65
, ninja
76
, gtk3
87
, wrapGAppsHook
@@ -16,29 +15,28 @@
1615

1716
python3Packages.buildPythonApplication rec {
1817
pname = "gtg";
19-
version = "0.4";
18+
version = "unstable-2020-08-02";
2019

2120
src = fetchFromGitHub {
22-
owner = "getting-things-gnome";
23-
repo = "gtg";
24-
rev = "6623731f301c1b9c7b727e009f4a6462ad381c68";
25-
sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1";
21+
owner = "getting-things-gnome";
22+
repo = "gtg";
23+
rev = "6623731f301c1b9c7b727e009f4a6462ad381c68";
24+
sha256 = "14gxgg4nl0ki3dn913041jpyfhxsj90fkd55z6mmpyklhr8mwss1";
2625
};
2726

2827

2928
nativeBuildInputs = [
3029
meson
3130
ninja
32-
pkgconfig
31+
itstool
32+
gettext
3333
wrapGAppsHook
3434
gobject-introspection
3535
];
3636

3737
buildInputs = [
3838
glib
3939
gtk3
40-
itstool
41-
gettext
4240
pango
4341
gdk-pixbuf
4442
];
@@ -50,24 +48,21 @@ python3Packages.buildPythonApplication rec {
5048
dbus-python
5149
gst-python
5250
liblarch
53-
pyxdg # can probably be removed after next release
5451
];
5552

5653
format = "other";
57-
strictDeps = false;
54+
strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
5855

5956
meta = with stdenv.lib; {
60-
description = "
61-
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.
62-
";
63-
longDescription = "
64-
GTG is designed with flexibility, adaptability, and ease of use in mind so it can be used as more than just GTD software.
57+
description = " A personal tasks and TODO-list items organizer.";
58+
longDescription = ''
59+
"Getting Things GNOME" (GTG) is a personal tasks and ToDo list organizer inspired by the "Getting Things Done" (GTD) methodology.
6560
GTG is intended to help you track everything you need to do and need to know, from small tasks to large projects.
66-
";
61+
'';
6762
homepage = "https://wiki.gnome.org/Apps/GTG";
6863
downloadPage = "https://github.com/getting-things-gnome/gtg/releases";
6964
license = licenses.gpl3Only;
7065
maintainers = with maintainers; [ oyren ];
71-
platforms = [ "x86_64-linux" ];
66+
platforms = platforms.linux;
7267
};
7368
}

0 commit comments

Comments
 (0)