pythonPackages.wsgi-intercept: init at 1.9.2
This commit is contained in:
parent
fe6531961f
commit
3a3344c9ed
31
pkgs/development/python-modules/wsgi-intercept/default.nix
Normal file
31
pkgs/development/python-modules/wsgi-intercept/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, six, httplib2, py, pytestCheckHook, requests, urllib3 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "wsgi-intercept";
|
||||||
|
version = "1.9.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "wsgi_intercept";
|
||||||
|
inherit version;
|
||||||
|
sha256 = "1b6251d03jnhqywr54bzj9fnc3qzp2kvz22asxpd27jy984qx21n";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -8370,6 +8370,8 @@ in {
|
|||||||
|
|
||||||
ws4py = callPackage ../development/python-modules/ws4py { };
|
ws4py = callPackage ../development/python-modules/ws4py { };
|
||||||
|
|
||||||
|
wsgi-intercept = callPackage ../development/python-modules/wsgi-intercept { };
|
||||||
|
|
||||||
wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };
|
wsgiproxy2 = callPackage ../development/python-modules/wsgiproxy2 { };
|
||||||
|
|
||||||
WSGIProxy = callPackage ../development/python-modules/wsgiproxy { };
|
WSGIProxy = callPackage ../development/python-modules/wsgiproxy { };
|
||||||
|
Loading…
Reference in New Issue
Block a user