summary refs log tree commit diff
path: root/pkgs/development/python-modules/wsgiproxy2/default.nix
blob: 0f50c6474c5977c1c38d73e997ef57f2e879ddfd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib
, buildPythonPackage
, fetchFromGitHub
, webob
, pythonOlder
}:

buildPythonPackage rec {
  pname = "wsgiproxy2";
  version = "0.5.1";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "gawel";
    repo = "WSGIProxy2";
    rev = version;
    hash = "sha256-ouofw3cBQzBwSh3Pdtdl7KI2pg/T/z3qoh8zoeiKiSs=";
  };

  propagatedBuildInputs = [
    webob
  ];

  # Circular dependency on webtest
  doCheck = false;

  pythonImportsCheck = [
    "wsgiproxy"
  ];

  meta = with lib; {
    description = "HTTP proxying tools for WSGI apps";
    homepage = "https://wsgiproxy2.readthedocs.io/";
    license = licenses.mit;
    maintainers = with maintainers; [ domenkozar ];
  };
}