1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/python-modules/requests-cache/default.nix

22 lines
535 B
Nix
Raw Normal View History

{ 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;
};
}