Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, requests 5}: 6 7buildPythonPackage rec { 8 pname = "requests-wsgi-adapter"; 9 version = "0.4.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-WncJ6Qq/SdGB9sMqo3eUU39yXeD23UI2K8jIyQgSyHg="; 14 }; 15 16 propagatedBuildInputs = [ 17 requests 18 ]; 19 20 # tests are not contained in pypi-release 21 doCheck = false; 22 23 meta = with lib; { 24 description = "WSGI Transport Adapter for Requests"; 25 homepage = "https://github.com/seanbrant/requests-wsgi-adapter"; 26 license = licenses.bsd3; 27 maintainers = with maintainers; [ betaboon ]; 28 }; 29}