Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 mkdocs, 7 wcmatch, 8 natsort, 9 pytestCheckHook, 10 beautifulsoup4, 11 mock-open, 12 importlib-metadata, 13 pythonOlder, 14}: 15buildPythonPackage rec { 16 pname = "mkdocs-awesome-pages-plugin"; 17 version = "2.9.3"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.9"; 21 22 src = fetchFromGitHub { 23 owner = "lukasgeiter"; 24 repo = "mkdocs-awesome-pages-plugin"; 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-jDPoMAJ20n9bQu11CRNvKLQthRUh3+jR6t+fM3+vGzY="; 27 }; 28 29 propagatedBuildInputs = [ 30 mkdocs 31 wcmatch 32 natsort 33 ]; 34 35 nativeBuildInputs = [poetry-core]; 36 37 nativeCheckInputs = [ 38 pytestCheckHook 39 beautifulsoup4 40 mock-open 41 importlib-metadata 42 ]; 43 44 meta = with lib; { 45 description = "An MkDocs plugin that simplifies configuring page titles and their order"; 46 homepage = "https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin"; 47 changelog = "https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin/blob/v${version}/CHANGELOG"; 48 license = licenses.mit; 49 maintainers = with maintainers; [phaer]; 50 }; 51}