mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
0215034f25
when they already rely on SRI hashes.
37 lines
829 B
Nix
37 lines
829 B
Nix
{ 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";
|
|
hash = "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 ];
|
|
};
|
|
}
|