2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
mkdocs,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2024-04-21 15:54:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mkdocs-autolinks-plugin";
|
|
|
|
version = "0.7.1";
|
|
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zachhannum";
|
|
|
|
repo = "mkdocs-autolinks-plugin";
|
|
|
|
# The commit messages mention version 0.7.1, but the tag is v_071.
|
|
|
|
rev = "e2b649eb4db23459bcec121838f27c92c81f9ce1";
|
|
|
|
hash = "sha256-mEbuB9VwK7po1TqtJfBSkItOVlI3/W3nD2LYRHgPpTA=";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
dependencies = [ mkdocs ];
|
|
|
|
|
|
|
|
# Module has no tests.
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "mkdocs_autolinks_plugin" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "MkDocs plugin that simplifies relative linking between documents";
|
2024-04-21 15:54:59 +00:00
|
|
|
homepage = "https://github.com/zachhannum/mkdocs-autolinks-plugin";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ lucas-deangelis ];
|
|
|
|
};
|
|
|
|
}
|