Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / webargs / default.nix
blob91d62cf849b8a46cf3bfaa3cbdce5a43ee26f5ba
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.3.0";
8   disabled = isPy27;
10   src = fetchPypi {
11     inherit pname version;
12     hash = "sha256-yrIHlBsGhsTQhsgjYy3c1DQxUWRDQaMvz1C46qceMcc=";
13   };
15   pythonImportsCheck = [
16     "webargs"
17   ];
19   propagatedBuildInputs = [ marshmallow ];
21   nativeCheckInputs = [
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   ];
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   };