biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / mkdocs-swagger-ui-tag / default.nix
blob36863323f968395c61e033d4e3630104723c37a2
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   fetchFromGitHub,
6   mkdocs,
7   pathspec,
8   pytestCheckHook,
9   pythonOlder,
12 buildPythonPackage rec {
13   pname = "mkdocs-swagger-ui-tag";
14   version = "0.6.10";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "Blueswen";
21     repo = "mkdocs-swagger-ui-tag";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-Wfctu8rqj2HxPgXYMeL5Hovet8yjol7RfLH233Gl+v4=";
24   };
26   propagatedBuildInputs = [
27     mkdocs
28     beautifulsoup4
29   ];
31   nativeCheckInputs = [
32     pathspec
33     pytestCheckHook
34   ];
36   pythonImportsCheck = [ "mkdocs_swagger_ui_tag" ];
38   disabledTests = [
39     # Don't actually build results
40     "test_material"
41     "test_material_dark_scheme_name"
42     "test_template"
43   ];
45   meta = with lib; {
46     description = "MkDocs plugin supports for add Swagger UI in page";
47     homepage = "https://github.com/Blueswen/mkdocs-swagger-ui-tag";
48     changelog = "https://github.com/blueswen/mkdocs-swagger-ui-tag/blob/v${version}/CHANGELOG";
49     license = licenses.mit;
50     maintainers = with maintainers; [ snpschaaf ];
51   };