a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
41 lines
961 B
Nix
41 lines
961 B
Nix
{ buildPythonPackage, fetchPypi, lib, isPy27, marshmallow, pytestCheckHook
|
|
, pytest-aiohttp, webtest, webtest-aiohttp, flask, django, bottle, tornado
|
|
, pyramid, falcon, aiohttp }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "webargs";
|
|
version = "8.2.0";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-mdaJQMRS4HcmSFoV/vQ/EviubAxbORvLp2Bl1FJ/uF0=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"webargs"
|
|
];
|
|
|
|
propagatedBuildInputs = [ marshmallow ];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-aiohttp
|
|
webtest
|
|
webtest-aiohttp
|
|
flask
|
|
django
|
|
bottle
|
|
tornado
|
|
pyramid
|
|
falcon
|
|
aiohttp
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Declarative parsing and validation of HTTP request objects, with built-in support for popular web frameworks";
|
|
homepage = "https://github.com/marshmallow-code/webargs";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ cript0nauta ];
|
|
};
|
|
}
|