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