1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytest, 6}: 7 8buildPythonPackage rec { 9 pname = "fastcache"; 10 version = "1.1.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "0avqpswfmw5b08xx3ib6zchc5bis390fn1v74vg7nnrkf1pb3qbd"; 16 }; 17 18 nativeCheckInputs = [ pytest ]; 19 20 meta = with lib; { 21 description = "C implementation of Python3 lru_cache for Python 2 and 3"; 22 homepage = "https://github.com/pbrady/fastcache"; 23 license = licenses.mit; 24 maintainers = [ maintainers.bhipple ]; 25 }; 26}