pythonPackages.request-cache: Move to own file

This commit is contained in:
Elis Hirwing
2018-04-03 14:03:30 +02:00
committed by Frederik Rietdijk
parent 6851911f92
commit f86567c92e
2 changed files with 22 additions and 19 deletions

View File

@@ -0,0 +1,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;
};
}