Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, buildPythonPackage, fetchPypi 2, mock, requests, six, urllib3 }: 3 4buildPythonPackage rec { 5 pname = "requests-cache"; 6 version = "0.4.13"; 7 8 src = fetchPypi { 9 inherit pname version; 10 sha256 = "18jpyivnq5pjbkymk3i473rihpj2bgikafpha7xvr6w736hiqmpy"; 11 }; 12 13 buildInputs = [ mock ]; 14 propagatedBuildInputs = [ requests six urllib3 ]; 15 16 meta = with stdenv.lib; { 17 description = "Persistent cache for requests library"; 18 homepage = https://pypi.python.org/pypi/requests-cache; 19 license = licenses.bsd3; 20 }; 21}