2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-08-20 17:08:02 +00:00
|
|
|
, fetchFromGitHub
|
2022-01-26 04:04:25 +00:00
|
|
|
, fetchpatch
|
2020-08-20 17:08:02 +00:00
|
|
|
, meson
|
|
|
|
, python3Packages
|
|
|
|
, ninja
|
|
|
|
, gtk3
|
|
|
|
, wrapGAppsHook
|
|
|
|
, glib
|
2022-06-16 17:23:12 +00:00
|
|
|
, gtksourceview4
|
2020-08-20 17:08:02 +00:00
|
|
|
, itstool
|
|
|
|
, gettext
|
|
|
|
, pango
|
|
|
|
, gdk-pixbuf
|
2022-06-16 17:23:12 +00:00
|
|
|
, libsecret
|
2020-08-20 17:08:02 +00:00
|
|
|
, gobject-introspection
|
2021-05-20 23:08:51 +00:00
|
|
|
, xvfb-run
|
2020-08-20 17:08:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "gtg";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.6";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getting-things-gnome";
|
|
|
|
repo = "gtg";
|
2021-04-12 18:23:04 +00:00
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-O8qBD92P2g8QrBdMXa6j0Ozk+W80Ny5yk0KNTy7ekfE=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
itstool
|
|
|
|
gettext
|
|
|
|
wrapGAppsHook
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
2022-06-16 17:23:12 +00:00
|
|
|
gtksourceview4
|
2020-08-20 17:08:02 +00:00
|
|
|
pango
|
|
|
|
gdk-pixbuf
|
2022-06-16 17:23:12 +00:00
|
|
|
libsecret
|
2020-08-20 17:08:02 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pycairo
|
|
|
|
pygobject3
|
|
|
|
lxml
|
|
|
|
gst-python
|
|
|
|
liblarch
|
2022-06-16 17:23:12 +00:00
|
|
|
caldav
|
2020-08-20 17:08:02 +00:00
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = with python3Packages; [
|
2020-09-25 04:45:31 +00:00
|
|
|
nose
|
|
|
|
mock
|
2021-05-20 23:08:51 +00:00
|
|
|
xvfb-run
|
2022-06-16 17:23:12 +00:00
|
|
|
pytest
|
2020-09-25 04:45:31 +00:00
|
|
|
];
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
preBuild = ''
|
|
|
|
export HOME="$TMP"
|
|
|
|
'';
|
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
format = "other";
|
|
|
|
strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943)
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
checkPhase = "xvfb-run pytest ../tests/";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-19 00:13:06 +00:00
|
|
|
description = " A personal tasks and TODO-list items organizer";
|
2020-08-20 17:08:02 +00:00
|
|
|
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.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ oyren ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|