summary refs log tree commit diff
path: root/pkgs/development/python-modules/bugzilla/default.nix
blob: f40488511093d1b7026daf333f169e8a7f6831d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, buildPythonPackage, fetchPypi
, pep8, coverage, logilab_common, requests }:

buildPythonPackage rec {
  pname = "bugzilla";
  version = "2.3.0";

  src = fetchPypi {
    pname = "python-${pname}";
    inherit version;
    sha256 = "0q8c3k0kdnd11g2s56cp8va9365x0xfr2m2zn9fgxjijdyhwdic5";
  };

  buildInputs = [ pep8 coverage logilab_common ];
  propagatedBuildInputs = [ requests ];

  preCheck = ''
    mkdir -p check-phase
    export HOME=$(pwd)/check-phase
  '';

  meta = with stdenv.lib; {
    homepage = "https://github.com/python-bugzilla/python-bugzilla";
    description = "Bugzilla XMLRPC access module";
    license = licenses.gpl2;
    platforms = platforms.all;
    maintainers = with maintainers; [ pierron peti ];
  };
}