mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 13:45:49 +02:00
commit
f471bc2727
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue