python310Packages.bugzilla: clean up dependencies and enable tests
This commit is contained in:
parent
10c2b21c3f
commit
36a0517448
1 changed files with 6 additions and 5 deletions
|
@ -1,10 +1,8 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pep8
|
|
||||||
, coverage
|
|
||||||
, logilab-common
|
|
||||||
, requests
|
, requests
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -17,9 +15,12 @@ buildPythonPackage rec {
|
||||||
sha256 = "0q8c3k0kdnd11g2s56cp8va9365x0xfr2m2zn9fgxjijdyhwdic5";
|
sha256 = "0q8c3k0kdnd11g2s56cp8va9365x0xfr2m2zn9fgxjijdyhwdic5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pep8 coverage logilab-common ];
|
|
||||||
propagatedBuildInputs = [ requests ];
|
propagatedBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
mkdir -p check-phase
|
mkdir -p check-phase
|
||||||
export HOME=$(pwd)/check-phase
|
export HOME=$(pwd)/check-phase
|
||||||
|
@ -28,7 +29,7 @@ buildPythonPackage rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/python-bugzilla/python-bugzilla";
|
homepage = "https://github.com/python-bugzilla/python-bugzilla";
|
||||||
description = "Bugzilla XMLRPC access module";
|
description = "Bugzilla XMLRPC access module";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
maintainers = with maintainers; [ pierron ];
|
maintainers = with maintainers; [ pierron ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue