1{ lib
2, buildPythonPackage
3, fetchPypi
4, zope-proxy
5, zope_testrunner
6}:
7
8buildPythonPackage rec {
9 pname = "zope-deferredimport";
10 version = "5.0";
11
12 src = fetchPypi {
13 pname = "zope.deferredimport";
14 inherit version;
15 sha256 = "sha256-Orvw4YwfF2WRTs0dQbVJ5NBFshso5AZfsMHeCtc2ssM=";
16 };
17
18 propagatedBuildInputs = [ zope-proxy ];
19
20 nativeCheckInputs = [ zope_testrunner ];
21
22 checkPhase = ''
23 zope-testrunner --test-path=src []
24 '';
25
26 doCheck = false;
27
28 meta = with lib; {
29 description = "Allows you to perform imports names that will only be resolved when used in the code";
30 homepage = "https://github.com/zopefoundation/zope.deferredimport";
31 license = licenses.zpl21;
32 };
33}