1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "fastcache"; 11 version = "1.1.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-beGxbnAzW3veJmcH60AaOq7CIPtmxdE7Aqvw6ri+eCs="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytest ]; 22 23 pythonImportsCheck = [ "fastcache" ]; 24 25 meta = with lib; { 26 description = "C implementation of Python3 lru_cache"; 27 homepage = "https://github.com/pbrady/fastcache"; 28 changelog = "https://github.com/pbrady/fastcache/blob/v${version}/CHANGELOG"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ bhipple ]; 31 }; 32}