2017-09-13 01:54:52 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "cachetools";
|
2018-02-26 18:44:42 +01:00
|
|
|
version = "2.0.1";
|
2017-09-13 01:54:52 +02:00
|
|
|
disabled = isPyPy; # a test fails
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 18:44:42 +01:00
|
|
|
sha256 = "ede01f2d3cbd6ddc9e35e16c2b0ce011d8bb70ce0dbaf282f5b4df24b213bc5d";
|
2017-09-13 01:54:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/tkem/cachetools";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|