depot/third_party/nixpkgs/pkgs/development/python-modules/zope-cachedescriptors/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

40 lines
804 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "zope-cachedescriptors";
version = "4.3.1";
format = "setuptools";
src = fetchPypi {
pname = "zope.cachedescriptors";
inherit version;
sha256 = "1f4d1a702f2ea3d177a1ffb404235551bb85560100ec88e6c98691734b1d194a";
};
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 ];
};
}