anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / apispec-webframeworks / default.nix
bloba89d12ea0d5050bf461afd2d1155f3d61ce2bce4
2   lib,
3   aiohttp,
4   apispec,
5   bottle,
6   buildPythonPackage,
7   fetchFromGitHub,
8   flit-core,
9   flask,
10   mock,
11   pytestCheckHook,
12   pythonOlder,
13   tornado,
16 buildPythonPackage rec {
17   pname = "apispec-webframeworks";
18   version = "1.2.0";
19   pyproject = true;
21   disabled = pythonOlder "3.8";
23   src = fetchFromGitHub {
24     owner = "marshmallow-code";
25     repo = "apispec-webframeworks";
26     rev = "refs/tags/${version}";
27     hash = "sha256-V4tdqcHfYRh9VoXUTPXM3SIOogJDJB14SLj5dSd7LzU=";
28   };
30   build-system = [ flit-core ];
32   dependencies = [ apispec ] ++ apispec.optional-dependencies.yaml;
34   nativeCheckInputs = [
35     aiohttp
36     bottle
37     flask
38     mock
39     pytestCheckHook
40     tornado
41   ];
43   pythonImportsCheck = [ "apispec_webframeworks" ];
45   meta = with lib; {
46     description = "Web framework plugins for apispec";
47     homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
48     changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
49     license = licenses.mit;
50     maintainers = with maintainers; [ fab ];
51   };