diff options
Diffstat (limited to 'pkgs/development/python-modules/wsgiproxy2/default.nix')
-rw-r--r-- | pkgs/development/python-modules/wsgiproxy2/default.nix | 33 |
1 files changed, 21 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/wsgiproxy2/default.nix b/pkgs/development/python-modules/wsgiproxy2/default.nix index 2a9856cdd08..0f50c6474c5 100644 --- a/pkgs/development/python-modules/wsgiproxy2/default.nix +++ b/pkgs/development/python-modules/wsgiproxy2/default.nix @@ -1,30 +1,39 @@ { lib , buildPythonPackage -, fetchPypi -, six +, fetchFromGitHub , webob +, pythonOlder }: buildPythonPackage rec { - pname = "WSGIProxy2"; - version = "0.4.2"; + pname = "wsgiproxy2"; + version = "0.5.1"; + format = "setuptools"; - src = fetchPypi { - inherit pname version; - extension = "zip"; - sha256 = "13kf9bdxrc95y9vriaz0viry3ah11nz4rlrykcfvb8nlqpx3dcm4"; + disabled = pythonOlder "3.7"; + + src = fetchFromGitHub { + owner = "gawel"; + repo = "WSGIProxy2"; + rev = version; + hash = "sha256-ouofw3cBQzBwSh3Pdtdl7KI2pg/T/z3qoh8zoeiKiSs="; }; - propagatedBuildInputs = [ six webob ]; + propagatedBuildInputs = [ + webob + ]; - # circular dep on webtest + # Circular dependency on webtest doCheck = false; + pythonImportsCheck = [ + "wsgiproxy" + ]; + meta = with lib; { - homepage = "http://pythonpaste.org/wsgiproxy/"; description = "HTTP proxying tools for WSGI apps"; + homepage = "https://wsgiproxy2.readthedocs.io/"; license = licenses.mit; maintainers = with maintainers; [ domenkozar ]; }; - } |