1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "repoze-lru"; 11 version = "0.7"; 12 pyproject = true; 13 14 src = fetchPypi { 15 pname = "repoze.lru"; 16 inherit version; 17 hash = "sha256-BCmnXhk4Dk7VDAaU4mrIgZtOp4Ue4fx1g8hXLbgK/3c="; 18 }; 19 20 nativeBuildInputs = [ setuptools ]; 21 22 nativeCheckInputs = [ pytestCheckHook ]; 23 24 enabledTestPaths = [ "repoze/lru/tests.py" ]; 25 26 disabledTests = [ 27 # time sensitive tests 28 "test_different_timeouts" 29 "test_renew_timeout" 30 ]; 31 32 pythonImportsCheck = [ "repoze.lru" ]; 33 34 pythonNamespaces = [ "repoze" ]; 35 36 meta = with lib; { 37 description = "Tiny LRU cache implementation and decorator"; 38 homepage = "http://www.repoze.org/"; 39 changelog = "https://github.com/repoze/repoze.lru/blob/${version}/CHANGES.rst"; 40 license = licenses.bsd0; 41 maintainers = with maintainers; [ ]; 42 }; 43}