f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
35 lines
739 B
Nix
35 lines
739 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
zope-proxy,
|
|
zope-testrunner,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope-deferredimport";
|
|
version = "5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "zope.deferredimport";
|
|
inherit version;
|
|
hash = "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;
|
|
};
|
|
}
|