diff --git a/pkgs/development/python-modules/zope_event/default.nix b/pkgs/development/python-modules/zope_event/default.nix new file mode 100644 index 000000000000..490d2e48c14a --- /dev/null +++ b/pkgs/development/python-modules/zope_event/default.nix @@ -0,0 +1,22 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "zope.event"; + version = "4.0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "1w858k9kmgzfj36h65kp27m9slrmykvi5cjq6c119xqnaz5gdzgm"; + }; + + meta = with stdenv.lib; { + description = "An event publishing system"; + homepage = https://pypi.python.org/pypi/zope.event; + license = licenses.zpl20; + maintainers = with maintainers; [ goibhniu ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e6e54fca8a51..287a75a20430 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4192,24 +4192,9 @@ in { zope_contenttype = callPackage ../development/python-modules/zope_contenttype { }; - zope_event = buildPythonPackage rec { - name = "zope.event-${version}"; - version = "4.0.3"; - - src = pkgs.fetchurl { - url = "mirror://pypi/z/zope.event/${name}.tar.gz"; - sha256 = "1w858k9kmgzfj36h65kp27m9slrmykvi5cjq6c119xqnaz5gdzgm"; - }; - - meta = { - description = "An event publishing system"; - homepage = https://pypi.python.org/pypi/zope.event; - license = licenses.zpl20; - maintainers = with maintainers; [ goibhniu ]; - }; - }; zope_dottedname = callPackage ../development/python-modules/zope_dottedname { }; + zope_event = callPackage ../development/python-modules/zope_event { }; zope_exceptions = buildPythonPackage rec { name = "zope.exceptions-${version}";