2018-03-31 15:29:49 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pep8, coverage, logilab_common, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bugzilla";
|
2019-09-28 06:05:53 +00:00
|
|
|
version = "2.3.0";
|
2018-03-31 15:29:49 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2019-07-04 11:49:03 +00:00
|
|
|
pname = "python-${pname}";
|
|
|
|
inherit version;
|
2019-09-28 06:05:53 +00:00
|
|
|
sha256 = "0q8c3k0kdnd11g2s56cp8va9365x0xfr2m2zn9fgxjijdyhwdic5";
|
2018-03-31 15:29:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pep8 coverage logilab_common ];
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
mkdir -p check-phase
|
|
|
|
export HOME=$(pwd)/check-phase
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-07-04 11:34:54 +00:00
|
|
|
homepage = https://github.com/python-bugzilla/python-bugzilla;
|
2018-03-31 15:29:49 +00:00
|
|
|
description = "Bugzilla XMLRPC access module";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
2019-07-04 11:34:54 +00:00
|
|
|
maintainers = with maintainers; [ pierron peti ];
|
2018-03-31 15:29:49 +00:00
|
|
|
};
|
|
|
|
}
|