at master 857 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 six, 6 certauth, 7}: 8 9buildPythonPackage { 10 pname = "wsgiprox"; 11 version = "1.5.2"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "webrecorder"; 16 repo = "wsgiprox"; 17 # https://github.com/webrecorder/wsgiprox/issues/8 18 rev = "004870a87959e68ff28ff4362e4f0df28ec22030"; 19 hash = "sha256-EquddaNrVceyJHuQMCajKHGZX2Q7ebR0Zhvi2pl2WEw="; 20 }; 21 22 propagatedBuildInputs = [ 23 six 24 certauth 25 ]; 26 27 pythonImportsCheck = [ "wsgiprox" ]; 28 29 # See https://github.com/webrecorder/wsgiprox/issues/6 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Python WSGI Middleware for adding HTTP/S proxy support to any WSGI Application"; 34 homepage = "https://github.com/webrecorder/wsgiprox"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ Luflosi ]; 37 }; 38}