2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
33 lines
709 B
Nix
33 lines
709 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, zope-proxy
|
|
, zope_testrunner
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope-deferredimport";
|
|
version = "5.0";
|
|
|
|
src = fetchPypi {
|
|
pname = "zope.deferredimport";
|
|
inherit version;
|
|
sha256 = "sha256-Orvw4YwfF2WRTs0dQbVJ5NBFshso5AZfsMHeCtc2ssM=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zope-proxy ];
|
|
|
|
nativeCheckInputs = [ zope_testrunner ];
|
|
|
|
checkPhase = ''
|
|
zope-testrunner --test-path=src []
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Allows you to perform imports names that will only be resolved when used in the code";
|
|
homepage = "https://github.com/zopefoundation/zope.deferredimport";
|
|
license = licenses.zpl21;
|
|
};
|
|
}
|