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