python310Packages.cachecontrol: 0.12.10 -> 0.12.11

This commit is contained in:
Sandro Jäckel 2022-06-02 15:17:33 +02:00 committed by Jonathan Ringer
parent 92ea671321
commit 6944e6c445
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -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";