diff --git a/pkgs/development/python-modules/zope_exceptions/default.nix b/pkgs/development/python-modules/zope_exceptions/default.nix new file mode 100644 index 000000000000..3afb936d48f2 --- /dev/null +++ b/pkgs/development/python-modules/zope_exceptions/default.nix @@ -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 ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 287a75a20430..a278a0144d2c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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";