Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools 5, pytestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "zope-cachedescriptors"; 10 version = "5.0"; 11 12 format = "setuptools"; 13 14 src = fetchPypi { 15 pname = "zope.cachedescriptors"; 16 inherit version; 17 hash = "sha256-MVe+hm/Jck0Heotb9sP8IcOKQUerZk5yRiLf5fr/BIo="; 18 }; 19 20 propagatedBuildInputs = [ 21 setuptools 22 ]; 23 24 nativeCheckInputs = [ 25 pytestCheckHook 26 ]; 27 28 pytestFlagsArray = [ 29 "src/zope/cachedescriptors/tests.py" 30 ]; 31 32 pythonImportsCheck = [ "zope.cachedescriptors" ]; 33 34 meta = { 35 description = "Method and property caching decorators"; 36 homepage = "https://github.com/zopefoundation/zope.cachedescriptors"; 37 license = lib.licenses.zpl21; 38 maintainers = with lib.maintainers; [ dotlambda ]; 39 }; 40}