2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-04-03 13:03:30 +01:00
|
|
|
, mock, requests, six, urllib3 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "requests-cache";
|
2019-10-24 07:47:47 +01:00
|
|
|
version = "0.5.2";
|
2018-04-03 13:03:30 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:47 +01:00
|
|
|
sha256 = "813023269686045f8e01e2289cc1e7e9ae5ab22ddd1e2849a9093ab3ab7270eb";
|
2018-04-03 13:03:30 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ mock ];
|
|
|
|
propagatedBuildInputs = [ requests six urllib3 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-04-03 13:03:30 +01:00
|
|
|
description = "Persistent cache for requests library";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/requests-cache";
|
2018-04-03 13:03:30 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|