mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 02:46:38 +00:00
31037bab49
Textacy requires a later version. v2.0.0 introduced breaking changes, so keep two versions for other packages.
19 lines
430 B
Nix
19 lines
430 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPyPy }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "cachetools";
|
|
version = "1.1.3";
|
|
disabled = isPyPy; # a test fails
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0js7qx5pa8ibr8487lcf0x3a7w0xml0wa17snd6hjs0857kqhn20";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/tkem/cachetools";
|
|
license = licenses.mit;
|
|
};
|
|
}
|