2021-01-25 09:26:54 +01:00
|
|
|
{ lib
|
2020-08-04 19:18:47 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, python3Packages
|
|
|
|
, ninja
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, itstool
|
|
|
|
, gettext
|
|
|
|
, pango
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gobject-introspection
|
2020-10-22 19:03:15 +02:00
|
|
|
, xvfb_run
|
2020-08-04 19:18:47 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "gtg";
|
2021-04-06 22:27:53 +02:00
|
|
|
version = "0.5";
|
2020-08-04 19:18:47 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-05 13:12:04 +02:00
|
|
|
owner = "getting-things-gnome";
|
|
|
|
repo = "gtg";
|
2021-04-06 22:27:53 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403";
|
2020-08-04 19:18:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2020-08-05 13:12:04 +02:00
|
|
|
itstool
|
|
|
|
gettext
|
2020-08-04 19:18:47 +02:00
|
|
|
wrapGAppsHook
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
pango
|
|
|
|
gdk-pixbuf
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pycairo
|
|
|
|
pygobject3
|
|
|
|
lxml
|
|
|
|
gst-python
|
|
|
|
liblarch
|
|
|
|
];
|
|
|
|
|
2020-09-01 21:31:43 +02:00
|
|
|
checkInputs = with python3Packages; [
|
|
|
|
nose
|
|
|
|
mock
|
2020-10-22 19:03:15 +02:00
|
|
|
xvfb_run
|
2020-09-01 21:31:43 +02:00
|
|
|
];
|
|
|
|
|
2021-04-06 22:27:53 +02:00
|
|
|
preBuild = ''
|
|
|
|
export HOME="$TMP"
|
|
|
|
'';
|
|
|
|
|
2020-08-04 19:18:47 +02:00
|
|
|
format = "other";
|
2020-08-05 13:12:04 +02:00
|
|
|
strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
|
2020-08-04 19:18:47 +02:00
|
|
|
|
2020-10-22 19:03:15 +02:00
|
|
|
checkPhase = "xvfb-run python3 ../run-tests";
|
2020-09-01 21:31:43 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-10-11 07:55:05 +02:00
|
|
|
description = " A personal tasks and TODO-list items organizer";
|
2020-08-05 13:12:04 +02:00
|
|
|
longDescription = ''
|
|
|
|
"Getting Things GNOME" (GTG) is a personal tasks and ToDo list organizer inspired by the "Getting Things Done" (GTD) methodology.
|
2020-08-04 19:18:47 +02:00
|
|
|
GTG is intended to help you track everything you need to do and need to know, from small tasks to large projects.
|
2020-08-05 13:12:04 +02:00
|
|
|
'';
|
2020-08-04 19:18:47 +02:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/GTG";
|
|
|
|
downloadPage = "https://github.com/getting-things-gnome/gtg/releases";
|
2020-08-10 19:06:12 +02:00
|
|
|
license = licenses.gpl3Plus;
|
2020-08-04 19:18:47 +02:00
|
|
|
maintainers = with maintainers; [ oyren ];
|
2020-08-05 13:12:04 +02:00
|
|
|
platforms = platforms.linux;
|
2020-08-04 19:18:47 +02:00
|
|
|
};
|
|
|
|
}
|