Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / webargs / default.nix
blob800649a093884601a2ffcc30b32bb0f19b406d31
1 { buildPythonPackage, fetchPypi, lib, isPy27, marshmallow, pytestCheckHook
2 , pytest-aiohttp, webtest, webtest-aiohttp, flask, django, bottle, tornado
3 , pyramid, falcon, aiohttp }:
5 buildPythonPackage rec {
6   pname = "webargs";
7   version = "8.4.0";
8   format = "setuptools";
9   disabled = isPy27;
11   src = fetchPypi {
12     inherit pname version;
13     hash = "sha256-6pk2ghSkzmE5JL6Z1x21jCaWMele/0+gm3NU5S3ABqU=";
14   };
16   pythonImportsCheck = [
17     "webargs"
18   ];
20   propagatedBuildInputs = [ marshmallow ];
22   nativeCheckInputs = [
23     pytestCheckHook
24     pytest-aiohttp
25     webtest
26     webtest-aiohttp
27     flask
28     django
29     bottle
30     tornado
31     pyramid
32     falcon
33     aiohttp
34   ];
36   meta = with lib; {
37     description = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks";
38     homepage = "https://github.com/marshmallow-code/webargs";
39     license = licenses.mit;
40     maintainers = with maintainers; [ cript0nauta ];
41   };