1{ 2 lib, 3 gitMinimal, 4 buildPythonPackage, 5 fetchFromGitHub, 6 flit-core, 7 mkdocs, 8 mkdocs-exclude, 9 mkdocs-material, 10 natsort, 11 pydantic, 12 pytestCheckHook, 13 pythonOlder, 14 wcmatch, 15 16}: 17buildPythonPackage rec { 18 pname = "mkdocs-awesome-nav"; 19 version = "3.2.0"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "lukasgeiter"; 24 repo = "mkdocs-awesome-nav"; 25 tag = "v${version}"; 26 hash = "sha256-JeVOJl26ooAZ2xbmyOqSKRa/5Dbu5BXov3ZS6sXgnnU="; 27 }; 28 29 build-system = [ flit-core ]; 30 31 dependencies = [ 32 mkdocs 33 natsort 34 pydantic 35 wcmatch 36 ]; 37 38 nativeCheckInputs = [ 39 gitMinimal 40 mkdocs-exclude 41 mkdocs-material 42 pytestCheckHook 43 ]; 44 45 disabledTestPaths = [ 46 # depends on yet-unpackaged mktheapidocs plugin 47 "tests/compatibility/test_mktheapidocs.py" 48 # depends on yet-unpackaged mkdocs-monorepo-plugin 49 "tests/compatibility/test_monorepo.py" 50 # depends on yet-unpackaged mkdocs-multirepo-plugin 51 "tests/compatibility/test_multirepo.py" 52 # depends on yet-unpackaged mkdocs-static-i18n plugin 53 "tests/compatibility/test_static_i18n_folder.py" 54 "tests/compatibility/test_static_i18n_suffix.py" 55 ]; 56 57 meta = with lib; { 58 description = "Plugin for customizing the navigation structure of your MkDocs site"; 59 homepage = "https://github.com/lukasgeiter/mkdocs-awesome-nav"; 60 changelog = "https://github.com/lukasgeiter/mkdocs-awesome-nav/blob/${src.tag}/CHANGELOG"; 61 license = licenses.mit; 62 maintainers = with maintainers; [ phaer ]; 63 }; 64}