python310Packages.cachecontrol: 0.12.10 -> 0.12.11
This commit is contained in:
parent
92ea671321
commit
6944e6c445
@ -7,12 +7,13 @@
|
||||
, msgpack
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, redis
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cachecontrol";
|
||||
version = "0.12.10";
|
||||
version = "0.12.11";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -21,11 +22,10 @@ buildPythonPackage rec {
|
||||
owner = "ionrock";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-mgvL0q10UbPHY1H3tJprke5p8qNl3HNYoeLAERZTcTs=";
|
||||
hash = "sha256-uUPIQz/n347Q9G7NDOGuB760B/KxOglUxiS/rYjt5Po=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lockfile
|
||||
msgpack
|
||||
requests
|
||||
];
|
||||
@ -34,12 +34,17 @@ buildPythonPackage rec {
|
||||
cherrypy
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
] ++ passthru.optional-dependencies.filecache;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cachecontrol"
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
filecache = [ lockfile ];
|
||||
redis = [ redis ];
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Httplib2 caching for requests";
|
||||
homepage = "https://github.com/ionrock/cachecontrol";
|
||||
|
Loading…
Reference in New Issue
Block a user