1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 webob, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "wsgiproxy2"; 11 version = "0.5.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "gawel"; 18 repo = "WSGIProxy2"; 19 rev = version; 20 hash = "sha256-ouofw3cBQzBwSh3Pdtdl7KI2pg/T/z3qoh8zoeiKiSs="; 21 }; 22 23 propagatedBuildInputs = [ webob ]; 24 25 # Circular dependency on webtest 26 doCheck = false; 27 28 pythonImportsCheck = [ "wsgiproxy" ]; 29 30 meta = with lib; { 31 description = "HTTP proxying tools for WSGI apps"; 32 homepage = "https://wsgiproxy2.readthedocs.io/"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ ]; 35 }; 36}