pythonPackages.cachetools: Add version 2.0.1
Textacy requires a later version. v2.0.0 introduced breaking changes, so keep two versions for other packages.
This commit is contained in:
18
pkgs/development/python-modules/cachetools/1.nix
Normal file
18
pkgs/development/python-modules/cachetools/1.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
||||
18
pkgs/development/python-modules/cachetools/default.nix
Normal file
18
pkgs/development/python-modules/cachetools/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPyPy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "cachetools";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0pdw2fr29pxlyn1g5fhdrrqbpn0iw062nv716ngdqvdx7hnizq7d";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Extensible memoizing collections and decorators";
|
||||
homepage = "https://github.com/tkem/cachetools";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user