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