1{ lib, buildPythonPackage, fetchPypi, six, httplib2, py, pytestCheckHook, requests, urllib3 }: 2 3buildPythonPackage rec { 4 pname = "wsgi-intercept"; 5 version = "1.9.2"; 6 7 src = fetchPypi { 8 pname = "wsgi_intercept"; 9 inherit version; 10 sha256 = "1b6251d03jnhqywr54bzj9fnc3qzp2kvz22asxpd27jy984qx21n"; 11 }; 12 13 propagatedBuildInputs = [ six ]; 14 15 checkInputs = [ httplib2 py pytestCheckHook requests urllib3 ]; 16 17 disabledTests = [ 18 "test_http_not_intercepted" 19 "test_https_not_intercepted" 20 "test_https_no_ssl_verification_not_intercepted" 21 ]; 22 23 pythonImportsCheck = [ "wsgi_intercept" ]; 24 25 meta = with lib; { 26 description = "wsgi_intercept installs a WSGI application in place of a real URI for testing"; 27 homepage = "https://github.com/cdent/wsgi-intercept"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ SuperSandro2000 ]; 30 }; 31}