1{ buildPythonPackage, fetchPypi, lib, isPy27, marshmallow, pytestCheckHook 2, pytest-aiohttp, webtest, webtest-aiohttp, flask, django, bottle, tornado 3, pyramid, falcon, aiohttp }: 4 5buildPythonPackage rec { 6 pname = "webargs"; 7 version = "8.0.1"; 8 disabled = isPy27; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "bcce022250ee97cfbb0ad07b02388ac90a226ef4b479ec84317152345a565614"; 13 }; 14 15 pythonImportsCheck = [ 16 "webargs" 17 ]; 18 19 20 propagatedBuildInputs = [ marshmallow ]; 21 checkInputs = [ 22 pytestCheckHook 23 pytest-aiohttp 24 webtest 25 webtest-aiohttp 26 flask 27 django 28 bottle 29 tornado 30 pyramid 31 falcon 32 aiohttp 33 ]; 34 35 meta = with lib; { 36 description = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks"; 37 homepage = "https://github.com/marshmallow-code/webargs"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ cript0nauta ]; 40 }; 41}