at 25.11-pre 1.0 kB view raw
1{ 2 buildPythonPackage, 3 fetchPypi, 4 lib, 5 pythonAtLeast, 6 flit-core, 7 marshmallow, 8 pytestCheckHook, 9 pytest-aiohttp, 10 webtest, 11 webtest-aiohttp, 12 flask, 13 django, 14 bottle, 15 tornado, 16 pyramid, 17 falcon, 18 aiohttp, 19}: 20 21buildPythonPackage rec { 22 pname = "webargs"; 23 version = "8.7.0"; 24 pyproject = true; 25 26 src = fetchPypi { 27 inherit pname version; 28 hash = "sha256-DGF97BntTx/2skfNc4VelJ2HBS1xkAk4tx8Mr9kvGRs="; 29 }; 30 31 build-system = [ flit-core ]; 32 33 dependencies = [ marshmallow ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 pytest-aiohttp 38 webtest 39 webtest-aiohttp 40 flask 41 django 42 bottle 43 tornado 44 pyramid 45 falcon 46 aiohttp 47 ]; 48 49 pythonImportsCheck = [ "webargs" ]; 50 51 meta = with lib; { 52 description = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks"; 53 homepage = "https://github.com/marshmallow-code/webargs"; 54 license = licenses.mit; 55 maintainers = with maintainers; [ cript0nauta ]; 56 }; 57}