Files
nixpkgs/pkgs/development/python-modules/mkdocs-autolinks-plugin/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
919 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
mkdocs,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "mkdocs-autolinks-plugin";
version = "071";
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.
tag = "v_${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 ];
};
}