pythonPackages.bugzilla: Move to own file
This commit is contained in:
parent
5178a0a626
commit
160d69a831
30
pkgs/development/python-modules/bugzilla/default.nix
Normal file
30
pkgs/development/python-modules/bugzilla/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pep8, coverage, logilab_common, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bugzilla";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0ikx21nm7cch4lz9agv5h1hx6zvg2alkpfdrl01khqgilhsicdhi";
|
||||
};
|
||||
|
||||
patches = [ ./checkPhase-fix-cookie-compare.patch ];
|
||||
|
||||
buildInputs = [ pep8 coverage logilab_common ];
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
preCheck = ''
|
||||
mkdir -p check-phase
|
||||
export HOME=$(pwd)/check-phase
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://fedorahosted.org/python-bugzilla/;
|
||||
description = "Bugzilla XMLRPC access module";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ pierron ];
|
||||
};
|
||||
}
|
@ -1414,33 +1414,7 @@ in {
|
||||
# };
|
||||
# });
|
||||
|
||||
bugzilla = buildPythonPackage rec {
|
||||
name = "bugzilla-${version}";
|
||||
version = "1.1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-bugzilla/python-${name}.tar.gz";
|
||||
sha256 = "11361635a4f1613803a0b9b93ba9126f7fd36180653f953e2590b1536d107d46";
|
||||
};
|
||||
|
||||
patches = [ ../development/python-modules/bugzilla/checkPhase-fix-cookie-compare.patch ];
|
||||
|
||||
buildInputs = with self; [ pep8 coverage logilab_common ];
|
||||
propagatedBuildInputs = [ self.requests ];
|
||||
|
||||
preCheck = ''
|
||||
mkdir -p check-phase
|
||||
export HOME=$(pwd)/check-phase
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://fedorahosted.org/python-bugzilla/;
|
||||
description = "Bugzilla XMLRPC access module";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ pierron ];
|
||||
};
|
||||
};
|
||||
bugzilla = callPackage ../development/python-modules/bugzilla { };
|
||||
|
||||
check-manifest = buildPythonPackage rec {
|
||||
name = "check-manifest";
|
||||
|
Loading…
x
Reference in New Issue
Block a user