2022-07-14 12:49:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "zope-cachedescriptors";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "4.4";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "zope.cachedescriptors";
|
|
|
|
inherit version;
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "sha256-1FxIdIb334HymS8aAJEmJL93JZ2DxdmKp2tnhxbj0Ro=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
"src/zope/cachedescriptors/tests.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "zope.cachedescriptors" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Method and property caching decorators";
|
|
|
|
homepage = "https://github.com/zopefoundation/zope.cachedescriptors";
|
|
|
|
license = lib.licenses.zpl21;
|
|
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|