blob: 78a14675540383a7512aa36876b4e7e8710780d2 (
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
|
{
lib,
beautifulsoup4,
buildPythonPackage,
drawio-headless,
fetchFromGitHub,
mkdocs,
pathspec,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "mkdocs-swagger-ui-tag";
version = "0.6.10";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Blueswen";
repo = "mkdocs-swagger-ui-tag";
rev = "refs/tags/v${version}";
hash = "sha256-Wfctu8rqj2HxPgXYMeL5Hovet8yjol7RfLH233Gl+v4=";
};
propagatedBuildInputs = [
mkdocs
beautifulsoup4
];
nativeCheckInputs = [
pathspec
pytestCheckHook
];
pythonImportsCheck = [ "mkdocs_swagger_ui_tag" ];
disabledTests = [
# Don't actually build results
"test_material"
"test_material_dark_scheme_name"
"test_template"
];
meta = with lib; {
description = "MkDocs plugin supports for add Swagger UI in page";
homepage = "https://github.com/Blueswen/mkdocs-swagger-ui-tag";
changelog = "https://github.com/blueswen/mkdocs-swagger-ui-tag/blob/v${version}/CHANGELOG";
license = licenses.mit;
maintainers = with maintainers; [ snpschaaf ];
};
}
|