2020-08-04 17:18:47 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, python3Packages
|
|
|
|
, ninja
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
|
|
|
, itstool
|
|
|
|
, gettext
|
|
|
|
, pango
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gobject-introspection
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "gtg";
|
2020-09-16 16:13:44 +00:00
|
|
|
version = "unstable-2020-09-16";
|
2020-08-04 17:18:47 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-05 11:12:04 +00:00
|
|
|
owner = "getting-things-gnome";
|
|
|
|
repo = "gtg";
|
2020-09-16 16:13:44 +00:00
|
|
|
rev = "1be991c6d7f7b2e4b8ac16f82e8a07f9dce4272f";
|
|
|
|
sha256 = "1f5acpjwnp08c78dds7xm22qjzcfnx2qs121yvm3rswkh27s4n23";
|
2020-08-04 17:18:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
2020-08-05 11:12:04 +00:00
|
|
|
itstool
|
|
|
|
gettext
|
2020-08-04 17:18:47 +00:00
|
|
|
wrapGAppsHook
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
pango
|
|
|
|
gdk-pixbuf
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pycairo
|
|
|
|
pygobject3
|
|
|
|
lxml
|
|
|
|
dbus-python
|
|
|
|
gst-python
|
|
|
|
liblarch
|
|
|
|
];
|
|
|
|
|
2020-09-01 19:31:43 +00:00
|
|
|
checkInputs = with python3Packages; [
|
|
|
|
nose
|
|
|
|
mock
|
|
|
|
];
|
|
|
|
|
2020-08-04 17:18:47 +00:00
|
|
|
format = "other";
|
2020-08-05 11:12:04 +00:00
|
|
|
strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
|
2020-08-04 17:18:47 +00:00
|
|
|
|
2020-09-01 19:31:43 +00:00
|
|
|
checkPhase = "python3 ../run-tests";
|
|
|
|
|
2020-08-04 17:18:47 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-08-05 11:12:04 +00:00
|
|
|
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.
|
2020-08-04 17:18:47 +00: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 11:12:04 +00:00
|
|
|
'';
|
2020-08-04 17:18:47 +00:00
|
|
|
homepage = "https://wiki.gnome.org/Apps/GTG";
|
|
|
|
downloadPage = "https://github.com/getting-things-gnome/gtg/releases";
|
2020-08-10 17:06:12 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-08-04 17:18:47 +00:00
|
|
|
maintainers = with maintainers; [ oyren ];
|
2020-08-05 11:12:04 +00:00
|
|
|
platforms = platforms.linux;
|
2020-08-04 17:18:47 +00:00
|
|
|
};
|
|
|
|
}
|