python3Packages.wsgiprox: init at 1.5.2

This commit is contained in:
Luflosi 2021-09-06 00:36:02 +02:00
parent f9fc7ee26e
commit baa87c2233
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, six
, certauth
}:
buildPythonPackage rec {
pname = "wsgiprox";
version = "1.5.2";
src = fetchFromGitHub {
owner = "webrecorder";
repo = "wsgiprox";
# https://github.com/webrecorder/wsgiprox/issues/8
rev = "004870a87959e68ff28ff4362e4f0df28ec22030";
sha256 = "sha256-EquddaNrVceyJHuQMCajKHGZX2Q7ebR0Zhvi2pl2WEw=";
};
propagatedBuildInputs = [
six
certauth
];
pythonImportsCheck = [ "wsgiprox" ];
# See https://github.com/webrecorder/wsgiprox/issues/6
doCheck = false;
meta = with lib; {
description = "Python WSGI Middleware for adding HTTP/S proxy support to any WSGI Application";
homepage = "https://github.com/webrecorder/wsgiprox";
license = licenses.asl20;
maintainers = with maintainers; [ Luflosi ];
};
}

View File

@ -9579,6 +9579,8 @@ in {
wsgi-intercept = callPackage ../development/python-modules/wsgi-intercept { };
wsgiprox = callPackage ../development/python-modules/wsgiprox { };
wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };
wsgitools = callPackage ../development/python-modules/wsgitools { };