python.pkgs.zope-deferredimport: init at 4.3

This commit is contained in:
Robert Schütz 2018-12-02 21:57:23 +01:00 committed by Frederik Rietdijk
parent 0107125d32
commit 5a778bcac7
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, zope_proxy
, zope_testrunner
}:
buildPythonPackage rec {
pname = "zope-deferredimport";
version = "4.3";
src = fetchPypi {
pname = "zope.deferredimport";
inherit version;
sha256 = "2ddef5a7ecfff132a2dd796253366ecf9748a446e30f1a0b3a636aec9d9c05c5";
};
propagatedBuildInputs = [ zope_proxy ];
checkInputs = [ zope_testrunner ];
checkPhase = ''
zope-testrunner --test-path=src []
'';
meta = with lib; {
description = "Allows you to perform imports names that will only be resolved when used in the code";
homepage = http://github.com/zopefoundation/zope.deferredimport;
license = licenses.zpl21;
};
}

View File

@ -4409,6 +4409,8 @@ in {
zope_contenttype = callPackage ../development/python-modules/zope_contenttype { };
zope-deferredimport = callPackage ../development/python-modules/zope-deferredimport { };
zope_dottedname = callPackage ../development/python-modules/zope_dottedname { };
zope_event = callPackage ../development/python-modules/zope_event { };