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
54
55
56
57
58
59
60
61
62
63
64
|
{
lib,
gitMinimal,
buildPythonPackage,
fetchFromGitHub,
flit-core,
mkdocs,
mkdocs-exclude,
mkdocs-material,
natsort,
pydantic,
pytestCheckHook,
pythonOlder,
wcmatch,
}:
buildPythonPackage rec {
pname = "mkdocs-awesome-nav";
version = "3.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lukasgeiter";
repo = "mkdocs-awesome-nav";
tag = "v${version}";
hash = "sha256-guv+c4QwaATYEZ6XcWVZaOcZ7U9oLsW+RdWBtB1Xrnc=";
};
build-system = [ flit-core ];
dependencies = [
mkdocs
natsort
pydantic
wcmatch
];
nativeCheckInputs = [
gitMinimal
mkdocs-exclude
mkdocs-material
pytestCheckHook
];
disabledTestPaths = [
# depends on yet-unpackaged mktheapidocs plugin
"tests/compatibility/test_mktheapidocs.py"
# depends on yet-unpackaged mkdocs-monorepo-plugin
"tests/compatibility/test_monorepo.py"
# depends on yet-unpackaged mkdocs-multirepo-plugin
"tests/compatibility/test_multirepo.py"
# depends on yet-unpackaged mkdocs-static-i18n plugin
"tests/compatibility/test_static_i18n_folder.py"
"tests/compatibility/test_static_i18n_suffix.py"
];
meta = {
description = "Plugin for customizing the navigation structure of your MkDocs site";
homepage = "https://github.com/lukasgeiter/mkdocs-awesome-nav";
changelog = "https://github.com/lukasgeiter/mkdocs-awesome-nav/blob/${src.tag}/CHANGELOG";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ phaer ];
};
}
|