Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, zope_proxy 5, zope_testrunner 6}: 7 8buildPythonPackage rec { 9 pname = "zope-deferredimport"; 10 version = "4.4"; 11 12 src = fetchPypi { 13 pname = "zope.deferredimport"; 14 inherit version; 15 sha256 = "2ae3257256802787e52ad840032f39c1496d3ce0b7e11117f663420e4a4c9add"; 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}