diff --git a/pkgs/development/python-modules/bugzilla/default.nix b/pkgs/development/python-modules/bugzilla/default.nix index 567c1084c5d7..3f201b876d4a 100644 --- a/pkgs/development/python-modules/bugzilla/default.nix +++ b/pkgs/development/python-modules/bugzilla/default.nix @@ -1,10 +1,8 @@ { lib , buildPythonPackage , fetchPypi -, pep8 -, coverage -, logilab-common , requests +, pytestCheckHook }: buildPythonPackage rec { @@ -17,9 +15,12 @@ buildPythonPackage rec { sha256 = "0q8c3k0kdnd11g2s56cp8va9365x0xfr2m2zn9fgxjijdyhwdic5"; }; - buildInputs = [ pep8 coverage logilab-common ]; propagatedBuildInputs = [ requests ]; + checkInputs = [ + pytestCheckHook + ]; + preCheck = '' mkdir -p check-phase export HOME=$(pwd)/check-phase @@ -28,7 +29,7 @@ buildPythonPackage rec { meta = with lib; { homepage = "https://github.com/python-bugzilla/python-bugzilla"; description = "Bugzilla XMLRPC access module"; - license = licenses.gpl2; + license = licenses.gpl2Plus; platforms = platforms.all; maintainers = with maintainers; [ pierron ]; };