pythonPackages.zope_exceptions: refactor move to python-modules
This commit is contained in:
parent
dbf529eea1
commit
4a51ac6876
28
pkgs/development/python-modules/zope_exceptions/default.nix
Normal file
28
pkgs/development/python-modules/zope_exceptions/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, zope_interface
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zope.exceptions";
|
||||
version = "4.0.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zwxaaa66sqxg5k7zcrvs0fbg9ym1njnxnr28dfmchzhwjvwnfzl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ zope_interface ];
|
||||
|
||||
# circular deps
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Exception interfaces and implementations";
|
||||
homepage = https://pypi.python.org/pypi/zope.exceptions;
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
|
||||
}
|
@ -4196,28 +4196,7 @@ in {
|
||||
|
||||
zope_event = callPackage ../development/python-modules/zope_event { };
|
||||
|
||||
zope_exceptions = buildPythonPackage rec {
|
||||
name = "zope.exceptions-${version}";
|
||||
version = "4.0.8";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/z/zope.exceptions/${name}.tar.gz";
|
||||
sha256 = "0zwxaaa66sqxg5k7zcrvs0fbg9ym1njnxnr28dfmchzhwjvwnfzl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ zope_interface ];
|
||||
|
||||
# circular deps
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Exception interfaces and implementations";
|
||||
homepage = https://pypi.python.org/pypi/zope.exceptions;
|
||||
license = licenses.zpl20;
|
||||
maintainers = with maintainers; [ goibhniu ];
|
||||
};
|
||||
};
|
||||
|
||||
zope_exceptions = callPackage ../development/python-modules/zope_exceptions { };
|
||||
|
||||
zope_filerepresentation = buildPythonPackage rec {
|
||||
name = "zope.filerepresentation-3.6.1";
|
||||
|
Loading…
Reference in New Issue
Block a user