mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 07:26:54 +00:00
22 lines
535 B
Nix
22 lines
535 B
Nix
|
{ stdenv, buildPythonPackage, fetchPypi
|
||
|
, mock, requests, six, urllib3 }:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "requests-cache";
|
||
|
version = "0.4.13";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
sha256 = "18jpyivnq5pjbkymk3i473rihpj2bgikafpha7xvr6w736hiqmpy";
|
||
|
};
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
}
|