ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
21 lines
538 B
Nix
21 lines
538 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, mock, requests, six, urllib3 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "requests-cache";
|
|
version = "0.5.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "813023269686045f8e01e2289cc1e7e9ae5ab22ddd1e2849a9093ab3ab7270eb";
|
|
};
|
|
|
|
buildInputs = [ mock ];
|
|
propagatedBuildInputs = [ requests six urllib3 ];
|
|
|
|
meta = with lib; {
|
|
description = "Persistent cache for requests library";
|
|
homepage = "https://pypi.python.org/pypi/requests-cache";
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|