blob: 66e45f0a15f9984648a0b550c5b84baffdd5b973 (
plain) (
blame)
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
|
{ lib
, aiohttp
, apispec
, bottle
, buildPythonPackage
, fetchFromGitHub
, flit-core
, flask
, mock
, pytestCheckHook
, pythonOlder
, tornado
}:
buildPythonPackage rec {
pname = "apispec-webframeworks";
version = "1.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "marshmallow-code";
repo = "apispec-webframeworks";
rev = "refs/tags/${version}";
hash = "sha256-qepiaRW36quIgxBtEHMF3HN0wO6jp2uGAHgg5fJoMUY=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
apispec
] ++ apispec.optional-dependencies.yaml;
nativeCheckInputs = [
aiohttp
bottle
flask
mock
pytestCheckHook
tornado
];
pythonImportsCheck = [
"apispec_webframeworks"
];
meta = with lib; {
description = "Web framework plugins for apispec";
homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
|