Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / webtest / default.nix
blobce34b045fd67812f5a3122ccd9d2416cdac1a7ea
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , fetchPypi
5 , pastedeploy
6 , pyquery
7 , pytestCheckHook
8 , pythonOlder
9 , six
10 , waitress
11 , webob
12 , wsgiproxy2
15 buildPythonPackage rec {
16   pname = "webtest";
17   version = "3.0.0";
18   format = "setuptools";
20   disabled = pythonOlder "3.6";
22   src = fetchPypi {
23     pname = "WebTest";
24     inherit version;
25     hash = "sha256-VL2WlyWDjZhhqfon+Nlx950nXZSuJV9cUB9Tu22ZKes=";
26   };
28   propagatedBuildInputs = [
29     beautifulsoup4
30     six
31     waitress
32     webob
33   ];
35   nativeCheckInputs = [
36     pastedeploy
37     pyquery
38     pytestCheckHook
39     wsgiproxy2
40   ];
42   __darwinAllowLocalNetworking = true;
44   pythonImportsCheck = [
45     "webtest"
46   ];
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   };