depot/third_party/nixpkgs/pkgs/development/python-modules/wsgi-intercept/default.nix
Default email a8b1b57b85 Project import generated by Copybara.
GitOrigin-RevId: fc4148a47fa927319186061aa42633c8aa5777f1
2022-01-22 02:22:15 +01:00

31 lines
892 B
Nix

{ lib, buildPythonPackage, fetchPypi, six, httplib2, py, pytestCheckHook, requests, urllib3 }:
buildPythonPackage rec {
pname = "wsgi-intercept";
version = "1.9.3";
src = fetchPypi {
pname = "wsgi_intercept";
inherit version;
sha256 = "0c4dc31dc7aabdd263ba45338c201b89e3096a3baaa7d8e3260c68ff18016fb4";
};
propagatedBuildInputs = [ six ];
checkInputs = [ httplib2 py pytestCheckHook requests urllib3 ];
disabledTests = [
"test_http_not_intercepted"
"test_https_not_intercepted"
"test_https_no_ssl_verification_not_intercepted"
];
pythonImportsCheck = [ "wsgi_intercept" ];
meta = with lib; {
description = "wsgi_intercept installs 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 ];
};
}