1{ stdenv, buildPythonPackage, fetchPypi, isPyPy }: 2 3buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "cachetools"; 6 version = "1.1.3"; 7 disabled = isPyPy; # a test fails 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "0js7qx5pa8ibr8487lcf0x3a7w0xml0wa17snd6hjs0857kqhn20"; 12 }; 13 14 meta = with stdenv.lib; { 15 homepage = "https://github.com/tkem/cachetools"; 16 license = licenses.mit; 17 }; 18}