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