1{ lib
2, beautifulsoup4
3, buildPythonPackage
4, fetchPypi
5, pastedeploy
6, pyquery
7, pytestCheckHook
8, pythonOlder
9, six
10, waitress
11, webob
12, wsgiproxy2
13}:
14
15buildPythonPackage rec {
16 pname = "webtest";
17 version = "3.0.0";
18 format = "setuptools";
19
20 disabled = pythonOlder "3.6";
21
22 src = fetchPypi {
23 pname = "WebTest";
24 inherit version;
25 hash = "sha256-VL2WlyWDjZhhqfon+Nlx950nXZSuJV9cUB9Tu22ZKes=";
26 };
27
28 propagatedBuildInputs = [
29 beautifulsoup4
30 six
31 waitress
32 webob
33 ];
34
35 nativeCheckInputs = [
36 pastedeploy
37 pyquery
38 pytestCheckHook
39 wsgiproxy2
40 ];
41
42 __darwinAllowLocalNetworking = true;
43
44 pythonImportsCheck = [
45 "webtest"
46 ];
47
48 meta = with lib; {
49 description = "Helper to test WSGI applications";
50 homepage = "https://webtest.readthedocs.org/";
51 license = licenses.mit;
52 maintainers = with maintainers; [ fab ];
53 };
54}