nixpkgs/pkgs/development/python-modules/bugzilla/default.nix
Peter Simons c30788f2d5 python-bugzilla: fix broken package name
This package has downloaded an incorrect source tarball for the longest time.
2019-07-04 13:49:03 +02:00

30 lines
744 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pep8, coverage, logilab_common, requests }:
buildPythonPackage rec {
pname = "bugzilla";
version = "2.2.0";
src = fetchPypi {
pname = "python-${pname}";
inherit version;
sha256 = "0x3jjb1g5bgjdj0jf0jmcg80hn5x2isf49frwvf2ykdl3fxd5gxc";
};
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 ];
};
}