Merge pull request #138929 from Luflosi/add-wsgiprox
This commit is contained in:
commit
45c4f4f25b
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/wsgiprox/default.nix
Normal file
36
pkgs/development/python-modules/wsgiprox/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue