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