1{ lib, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "fastcache"; 5 version = "1.0.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1rl489zfbm2x67n7i6r7r4nhrhwk6yz3yc7x9y2rky8p95vhaw46"; 10 }; 11 12 checkInputs = [ 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}