Files
Felix Buehler 6c67ccb929 python3Packages.mkdocs-autolinks-plugin: fix build
The version was set to the tag name "071", but the package metadata says 0.7.1, so pythonMetadataCheckPhase failed. Use 0.7.1 and derive the tag from it.

Assisted-by: claude-opus-5-5
2026-10-13 23:29:30 +02:00

38 lines
878 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
mkdocs,
setuptools,
}:
buildPythonPackage rec {
pname = "mkdocs-autolinks-plugin";
version = "0.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "zachhannum";
repo = "mkdocs-autolinks-plugin";
# The tag for version 0.7.1 is v_071
tag = "v_${lib.replaceStrings [ "." ] [ "" ] version}";
hash = "sha256-mEbuB9VwK7po1TqtJfBSkItOVlI3/W3nD2LYRHgPpTA=";
};
build-system = [ setuptools ];
dependencies = [ mkdocs ];
# Module has no tests.
doCheck = false;
pythonImportsCheck = [ "mkdocs_autolinks_plugin" ];
meta = {
description = "MkDocs plugin that simplifies relative linking between documents";
homepage = "https://github.com/zachhannum/mkdocs-autolinks-plugin";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lucas-deangelis ];
};
}