nixpkgs/pkgs/development/python-modules/cachetools/1.nix

19 lines
442 B
Nix
Raw Normal View History

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