diff options
Diffstat (limited to 'pkgs/development/python-modules/liblarch/default.nix')
-rw-r--r-- | pkgs/development/python-modules/liblarch/default.nix | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/liblarch/default.nix b/pkgs/development/python-modules/liblarch/default.nix index a133b5382441..4dae337ca1f2 100644 --- a/pkgs/development/python-modules/liblarch/default.nix +++ b/pkgs/development/python-modules/liblarch/default.nix @@ -1,12 +1,13 @@ -{ lib -, fetchFromGitHub -, buildPythonPackage -, python -, pygobject3 -, xvfb-run -, gobject-introspection -, gtk3 -, pythonOlder +{ + lib, + fetchFromGitHub, + buildPythonPackage, + pygobject3, + xvfb-run, + gobject-introspection, + gtk3, + pythonOlder, + pytest, }: buildPythonPackage rec { @@ -25,23 +26,21 @@ buildPythonPackage rec { nativeCheckInputs = [ gobject-introspection # for setup hook gtk3 + pytest ]; buildInputs = [ gtk3 ]; - propagatedBuildInputs = [ - pygobject3 - ]; + propagatedBuildInputs = [ pygobject3 ]; checkPhase = '' runHook preCheck - ${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' \ - ${python.interpreter} nix_run_setup test + ${xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' pytest runHook postCheck ''; meta = with lib; { - description = "A python library built to easily handle data structure such are lists, trees and acyclic graphs"; + description = "Python library built to easily handle data structure such are lists, trees and acyclic graphs"; homepage = "https://github.com/getting-things-gnome/liblarch"; downloadPage = "https://github.com/getting-things-gnome/liblarch/releases"; license = licenses.lgpl3Plus; |