1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
38 lines
872 B
Nix
38 lines
872 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
mkdocs,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mkdocs-autolinks-plugin";
|
|
version = "071";
|
|
pyproject = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|