1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
{
buildPythonPackage,
fetchPypi,
lib,
pythonAtLeast,
flit-core,
marshmallow,
pytestCheckHook,
pytest-aiohttp,
webtest,
webtest-aiohttp,
flask,
django,
bottle,
tornado,
pyramid,
falcon,
aiohttp,
fetchpatch,
}:
buildPythonPackage rec {
pname = "webargs";
version = "8.7.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-DGF97BntTx/2skfNc4VelJ2HBS1xkAk4tx8Mr9kvGRs=";
};
patches = [
(fetchpatch {
url = "https://github.com/marshmallow-code/webargs/commit/a6a5043ee34b0a22885b3625de6d4fdffc3b715b.patch";
hash = "sha256-EFe76SAklgmBjfM6K8PkB0vHMCSlZ9EKAW9AbnxKmPA=";
})
];
build-system = [ flit-core ];
dependencies = [ marshmallow ];
nativeCheckInputs = [
pytestCheckHook
pytest-aiohttp
webtest
webtest-aiohttp
flask
django
bottle
tornado
pyramid
falcon
aiohttp
];
pythonImportsCheck = [ "webargs" ];
meta = {
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ cript0nauta ];
};
}
|