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