diff options
Diffstat (limited to 'pkgs/development/python-modules/wsgi-intercept/default.nix')
-rw-r--r-- | pkgs/development/python-modules/wsgi-intercept/default.nix | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/wsgi-intercept/default.nix b/pkgs/development/python-modules/wsgi-intercept/default.nix index 81ed4fdf7667b..164cdbf01478b 100644 --- a/pkgs/development/python-modules/wsgi-intercept/default.nix +++ b/pkgs/development/python-modules/wsgi-intercept/default.nix @@ -1,18 +1,39 @@ -{ lib, buildPythonPackage, fetchPypi, six, httplib2, py, pytestCheckHook, requests, urllib3 }: +{ lib +, buildPythonPackage +, fetchPypi +, six +, httplib2 +, py +, pytestCheckHook +, pythonOlder +, requests +, urllib3 +}: buildPythonPackage rec { pname = "wsgi-intercept"; - version = "1.10.0"; + version = "1.11.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { pname = "wsgi_intercept"; inherit version; - sha256 = "sha256-BX8EWtR8pXkibcliJbfBw6/5VdHs9HczjM1c1SWx3wk="; + hash = "sha256-KvrZs+EgeK7Du7ni6icKHfcF0W0RDde0W6Aj/EPZ2Hw="; }; - propagatedBuildInputs = [ six ]; + propagatedBuildInputs = [ + six + ]; - checkInputs = [ httplib2 py pytestCheckHook requests urllib3 ]; + checkInputs = [ + httplib2 + py + pytestCheckHook + requests + urllib3 + ]; disabledTests = [ "test_http_not_intercepted" @@ -20,10 +41,12 @@ buildPythonPackage rec { "test_https_no_ssl_verification_not_intercepted" ]; - pythonImportsCheck = [ "wsgi_intercept" ]; + pythonImportsCheck = [ + "wsgi_intercept" + ]; meta = with lib; { - description = "wsgi_intercept installs a WSGI application in place of a real URI for testing"; + description = "Module that acts as a WSGI application in place of a real URI for testing"; homepage = "https://github.com/cdent/wsgi-intercept"; license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; |