1{ lib, buildPythonPackage, fetchPypi
2, pep8, coverage, logilab_common, requests }:
3
4buildPythonPackage rec {
5 pname = "bugzilla";
6 version = "2.3.0";
7
8 src = fetchPypi {
9 pname = "python-${pname}";
10 inherit version;
11 sha256 = "0q8c3k0kdnd11g2s56cp8va9365x0xfr2m2zn9fgxjijdyhwdic5";
12 };
13
14 buildInputs = [ pep8 coverage logilab_common ];
15 propagatedBuildInputs = [ requests ];
16
17 preCheck = ''
18 mkdir -p check-phase
19 export HOME=$(pwd)/check-phase
20 '';
21
22 meta = with lib; {
23 homepage = "https://github.com/python-bugzilla/python-bugzilla";
24 description = "Bugzilla XMLRPC access module";
25 license = licenses.gpl2;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ pierron ];
28 };
29}