pythonPackages.zope_lifecycleevent: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:32:05 -04:00
parent ce84dbdc6d
commit 86172105e7
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 27 additions and 15 deletions

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

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