ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / wsgi-intercept / default.nix
blob81ed4fdf7667b0d530d4f50bbe33858f48b6280b
1 { lib, buildPythonPackage, fetchPypi, six, httplib2, py, pytestCheckHook, requests, urllib3 }:
3 buildPythonPackage rec {
4   pname = "wsgi-intercept";
5   version = "1.10.0";
7   src = fetchPypi {
8     pname = "wsgi_intercept";
9     inherit version;
10     sha256 = "sha256-BX8EWtR8pXkibcliJbfBw6/5VdHs9HczjM1c1SWx3wk=";
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   };