diff --git a/pkgs/development/python-modules/zope_lifecycleevent/default.nix b/pkgs/development/python-modules/zope_lifecycleevent/default.nix new file mode 100644 index 000000000000..902e6c51adb4 --- /dev/null +++ b/pkgs/development/python-modules/zope_lifecycleevent/default.nix @@ -0,0 +1,26 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, zope_event +, zope_component +}: + +buildPythonPackage rec { + pname = "zope.lifecycleevent"; + version = "3.7.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0s5brphqzzz89cykg61gy7zcmz0ryq1jj2va7gh2n1b3cccllp95"; + }; + + propagatedBuildInputs = [ zope_event zope_component ]; + + meta = with stdenv.lib; { + homepage = http://github.com/zopefoundation/zope.lifecycleevent; + description = "Object life-cycle events"; + license = licenses.zpl20; + maintainers = with maintainers; [ goibhniu ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7528f781941f..a634b21b7146 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4204,21 +4204,7 @@ in { zope_i18nmessageid = callPackage ../development/python-modules/zope_i18nmessageid { }; - zope_lifecycleevent = buildPythonPackage rec { - name = "zope.lifecycleevent-3.7.0"; - - src = pkgs.fetchurl { - url = "mirror://pypi/z/zope.lifecycleevent/${name}.tar.gz"; - sha256 = "0s5brphqzzz89cykg61gy7zcmz0ryq1jj2va7gh2n1b3cccllp95"; - }; - - propagatedBuildInputs = with self; [ zope_event zope_component ]; - - meta = { - maintainers = with maintainers; [ goibhniu ]; - }; - }; - + zope_lifecycleevent = callPackage ../development/python-modules/zope_lifecycleevent { }; zope_location = buildPythonPackage rec { name = "zope.location-4.0.3";