1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 mkdocs, 6 pythonOlder, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "mkdocs-autolinks-plugin"; 12 version = "071"; 13 pyproject = true; 14 disabled = pythonOlder "3.8"; 15 16 src = fetchFromGitHub { 17 owner = "zachhannum"; 18 repo = "mkdocs-autolinks-plugin"; 19 # The commit messages mention version 0.7.1, but the tag is v_071. 20 tag = "v_${version}"; 21 hash = "sha256-mEbuB9VwK7po1TqtJfBSkItOVlI3/W3nD2LYRHgPpTA="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 dependencies = [ mkdocs ]; 27 28 # Module has no tests. 29 doCheck = false; 30 31 pythonImportsCheck = [ "mkdocs_autolinks_plugin" ]; 32 33 meta = with lib; { 34 description = "MkDocs plugin that simplifies relative linking between documents"; 35 homepage = "https://github.com/zachhannum/mkdocs-autolinks-plugin"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ lucas-deangelis ]; 38 }; 39}