Files
nixpkgs/pkgs/development/python-modules/bugzilla/default.nix
T

30 lines
736 B
Nix
Raw Normal View History

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