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