biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / essentials-openapi / default.nix
blobb6cc242620736cb0512448e7770d73e13bcccd09
2   buildPythonPackage,
3   fetchFromGitHub,
4   lib,
5   click,
6   essentials,
7   flask,
8   hatchling,
9   httpx,
10   jinja2,
11   markupsafe,
12   pydantic,
13   pytestCheckHook,
14   pyyaml,
15   rich,
16   setuptools,
18 buildPythonPackage rec {
19   pname = "essentials-openapi";
20   version = "1.0.9";
21   pyproject = true;
23   src = fetchFromGitHub {
24     owner = "Neoteroi";
25     repo = "essentials-openapi";
26     rev = "refs/tags/v${version}";
27     hash = "sha256-/NYv0NrE8+0kQg5G3Qf2DtesMHlmKQYczNT8pFlNFZE=";
28   };
30   nativeBuildInputs = [ hatchling ];
32   nativeCheckInputs = [
33     flask
34     httpx
35     pydantic
36     pytestCheckHook
37     rich
38     setuptools
39   ];
41   propagatedBuildInputs = [
42     pyyaml
43     essentials
44     markupsafe
45   ];
47   optional-dependencies = {
48     full = [
49       click
50       jinja2
51       rich
52       httpx
53     ];
54   };
56   pythonImportsCheck = [ "openapidocs" ];
58   meta = with lib; {
59     homepage = "https://github.com/Neoteroi/essentials-openapi";
60     description = "Functions to handle OpenAPI Documentation";
61     changelog = "https://github.com/Neoteroi/essentials-openapi/releases/v${version}";
62     license = licenses.mit;
63     maintainers = with maintainers; [
64       aldoborrero
65       zimbatm
66     ];
67   };