2018-03-31 16:29:49 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pep8, coverage, logilab_common, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "bugzilla";
|
2018-11-28 16:23:18 +00:00
|
|
|
version = "2.2.0";
|
2018-03-31 16:29:49 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2019-07-04 12:49:03 +01:00
|
|
|
pname = "python-${pname}";
|
|
|
|
inherit version;
|
|
|
|
sha256 = "0x3jjb1g5bgjdj0jf0jmcg80hn5x2isf49frwvf2ykdl3fxd5gxc";
|
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
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-07-04 12:34:54 +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
|
|
|
};
|
|
|
|
}
|