diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-06-04 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-06-04 12:00:00 +0000 |
commit | a65fab6b629bbc56573c407545aa646db0c28684 (patch) | |
tree | 9f624d335527ee2bf2b2c9d16d135c45407d741c /pkgs/applications/office/gtg | |
parent | f3efa1d285f35d51cb31c4bf37d12e4a7b1ef965 (diff) |
gtg: 0.5 -> 0.6
Diffstat (limited to 'pkgs/applications/office/gtg')
-rw-r--r-- | pkgs/applications/office/gtg/default.nix | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/pkgs/applications/office/gtg/default.nix b/pkgs/applications/office/gtg/default.nix index 6d536ea60a3d0..16a498afcac00 100644 --- a/pkgs/applications/office/gtg/default.nix +++ b/pkgs/applications/office/gtg/default.nix @@ -7,33 +7,27 @@ , gtk3 , wrapGAppsHook , glib +, gtksourceview4 , itstool , gettext , pango , gdk-pixbuf +, libsecret , gobject-introspection , xvfb-run }: python3Packages.buildPythonApplication rec { pname = "gtg"; - version = "0.5"; + version = "0.6"; src = fetchFromGitHub { owner = "getting-things-gnome"; repo = "gtg"; rev = "v${version}"; - sha256 = "0b2slm7kjq6q8c7v4m7aqc8m1ynjxn3bl7445srpv1xc0dilq403"; + sha256 = "sha256-O8qBD92P2g8QrBdMXa6j0Ozk+W80Ny5yk0KNTy7ekfE="; }; - patches = [ - # fix build with meson 0.60 (https://github.com/getting-things-gnome/gtg/pull/729) - (fetchpatch { - url = "https://github.com/getting-things-gnome/gtg/commit/1809d10663ae3d8f69c04138b66f9b4e66ee14f6.patch"; - sha256 = "sha256-bYr5PAsuvcSqTf0vaJj2APtuBrwHdhXJxtXoAb7CfGk="; - }) - ]; - nativeBuildInputs = [ meson ninja @@ -46,8 +40,10 @@ python3Packages.buildPythonApplication rec { buildInputs = [ glib gtk3 + gtksourceview4 pango gdk-pixbuf + libsecret ]; propagatedBuildInputs = with python3Packages; [ @@ -56,12 +52,14 @@ python3Packages.buildPythonApplication rec { lxml gst-python liblarch + caldav ]; checkInputs = with python3Packages; [ nose mock xvfb-run + pytest ]; preBuild = '' @@ -71,7 +69,7 @@ python3Packages.buildPythonApplication rec { format = "other"; strictDeps = false; # gobject-introspection does not run with strictDeps (https://github.com/NixOS/nixpkgs/issues/56943) - checkPhase = "xvfb-run python3 ../run-tests"; + checkPhase = "xvfb-run pytest ../tests/"; meta = with lib; { description = " A personal tasks and TODO-list items organizer"; |