pythonPackages.zope_exceptions: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:22:15 -04:00
parent dbf529eea1
commit 4a51ac6876
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 29 additions and 22 deletions

View 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 ];
};
}

View File

@ -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";