Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / apispec-webframeworks / default.nix
blob66e45f0a15f9984648a0b550c5b84baffdd5b973
1 { lib
2 , aiohttp
3 , apispec
4 , bottle
5 , buildPythonPackage
6 , fetchFromGitHub
7 , flit-core
8 , flask
9 , mock
10 , pytestCheckHook
11 , pythonOlder
12 , tornado
15 buildPythonPackage rec {
16   pname = "apispec-webframeworks";
17   version = "1.1.0";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "marshmallow-code";
24     repo = "apispec-webframeworks";
25     rev = "refs/tags/${version}";
26     hash = "sha256-qepiaRW36quIgxBtEHMF3HN0wO6jp2uGAHgg5fJoMUY=";
27   };
29   nativeBuildInputs = [
30     flit-core
31   ];
33   propagatedBuildInputs = [
34     apispec
35   ] ++ apispec.optional-dependencies.yaml;
37   nativeCheckInputs = [
38     aiohttp
39     bottle
40     flask
41     mock
42     pytestCheckHook
43     tornado
44   ];
46   pythonImportsCheck = [
47     "apispec_webframeworks"
48   ];
50   meta = with lib; {
51     description = "Web framework plugins for apispec";
52     homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
53     changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
54     license = licenses.mit;
55     maintainers = with maintainers; [ fab ];
56   };