depot/third_party/nixpkgs/pkgs/development/python-modules/zope-deferredimport/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

34 lines
734 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;
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;
};
}