about summary refs log tree commit diff
path: root/pkgs/development/python-modules/requests-cache/default.nix
blob: c8886b75d644ed7c44b2d4c1c4ce5c0a9371dc10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ 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;
  };
}