2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
isPy27,
|
|
|
|
marshmallow,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-aiohttp,
|
|
|
|
webtest,
|
|
|
|
webtest-aiohttp,
|
|
|
|
flask,
|
|
|
|
django,
|
|
|
|
bottle,
|
|
|
|
tornado,
|
|
|
|
pyramid,
|
|
|
|
falcon,
|
|
|
|
aiohttp,
|
|
|
|
}:
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "webargs";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "8.4.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-06-28 23:13:55 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-01-25 14:12:00 +00:00
|
|
|
hash = "sha256-6pk2ghSkzmE5JL6Z1x21jCaWMele/0+gm3NU5S3ABqU=";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "webargs" ];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ marshmallow ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-06-28 23:13:55 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|