linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / wsgi-intercept / default.nix
blob7303a27f5b3e56530f73bd805f635b06a3a9ba27
1 { lib, buildPythonPackage, fetchPypi, six, httplib2, py, pytestCheckHook, requests, urllib3 }:
3 buildPythonPackage rec {
4   pname = "wsgi-intercept";
5   version = "1.9.2";
7   src = fetchPypi {
8     pname = "wsgi_intercept";
9     inherit version;
10     sha256 = "1b6251d03jnhqywr54bzj9fnc3qzp2kvz22asxpd27jy984qx21n";
11   };
13   propagatedBuildInputs = [ six ];
15   checkInputs = [ httplib2 py pytestCheckHook requests urllib3 ];
17   disabledTests = [
18     "test_http_not_intercepted"
19     "test_https_not_intercepted"
20     "test_https_no_ssl_verification_not_intercepted"
21   ];
23   pythonImportsCheck = [ "wsgi_intercept" ];
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   };