3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/office/gtg/default.nix

77 lines
1.6 KiB
Nix
Raw Normal View History

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