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