diff --git a/pkgs/development/python-modules/zope_broken/default.nix b/pkgs/development/python-modules/zope_broken/default.nix new file mode 100644 index 000000000000..df3a2053ebf8 --- /dev/null +++ b/pkgs/development/python-modules/zope_broken/default.nix @@ -0,0 +1,26 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, zope_interface +}: + +buildPythonPackage rec { + pname = "zope.broken"; + version = "3.6.0"; + + src = fetchPypi { + inherit pname version; + extension = "zip"; + sha256 = "b9b8776002da4f7b6b12dfcce77eb642ae62b39586dbf60e1d9bdc992c9f2999"; + }; + + buildInputs = [ zope_interface ]; + + meta = with stdenv.lib; { + homepage = http://pypi.python.org/pypi/zope.broken; + description = "Zope Broken Object Interfaces"; + license = licenses.zpl20; + maintainers = with maintainers; [ goibhniu ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b1026b67b558..3234124cc598 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4184,21 +4184,7 @@ in { zetup = callPackage ../development/python-modules/zetup { }; - zope_broken = buildPythonPackage rec { - name = "zope.broken-3.6.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/z/zope.broken/${name}.zip"; - sha256 = "b9b8776002da4f7b6b12dfcce77eb642ae62b39586dbf60e1d9bdc992c9f2999"; - }; - - buildInputs = with self; [ zope_interface ]; - - meta = { - maintainers = with maintainers; [ goibhniu ]; - }; - }; - + zope_broken = callPackage ../development/python-modules/zope_broken { }; zope_component = buildPythonPackage rec { name = "zope.component-4.2.1";