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