1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 click, 6 essentials-openapi, 7 flask, 8 hatchling, 9 httpx, 10 jinja2, 11 mkdocs, 12 pytestCheckHook, 13 pythonImportsCheckHook, 14 rich, 15 setuptools, 16}: 17buildPythonPackage rec { 18 pname = "neoteroi-mkdocs"; 19 version = "1.0.5"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "Neoteroi"; 24 repo = "mkdocs-plugins"; 25 rev = "refs/tags/v${version}"; 26 hash = "sha256-gpU3G1PeZTKO4fWr4x8Ek0GIBEP3oRAgu7OFn2OZbRE="; 27 }; 28 29 buildInputs = [ hatchling ]; 30 31 nativeCheckInputs = [ 32 pytestCheckHook 33 flask 34 setuptools 35 ]; 36 37 propagatedBuildInputs = [ 38 essentials-openapi 39 click 40 jinja2 41 httpx 42 mkdocs 43 rich 44 ]; 45 46 disabledTests = [ 47 "test_contribs" # checks against its own git repository 48 ]; 49 50 pythonImportsCheck = [ "neoteroi.mkdocs" ]; 51 52 meta = with lib; { 53 homepage = "https://github.com/Neoteroi/mkdocs-plugins"; 54 description = "Plugins for MkDocs"; 55 changelog = "https://github.com/Neoteroi/mkdocs-plugins/releases/v${version}"; 56 license = licenses.mit; 57 maintainers = with maintainers; [ 58 aldoborrero 59 zimbatm 60 ]; 61 }; 62}