python3Packages.mkdocs-autorefs: 1.3.1 -> 1.4.1

This commit is contained in:
PerchunPak
2025-05-18 15:42:28 +02:00
parent d923e62ef1
commit c1a5068d8e
@@ -3,24 +3,22 @@
buildPythonPackage,
fetchFromGitHub,
markdown,
mkdocs,
mkdocs-material,
pytestCheckHook,
pdm-backend,
pythonOlder,
markupsafe,
}:
buildPythonPackage rec {
pname = "mkdocs-autorefs";
version = "1.3.1";
version = "1.4.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "mkdocstrings";
repo = "autorefs";
tag = version;
hash = "sha256-YVkj4D7JK0GOqnGlg5L3uqFsBB5C0OnlXX+wYW4GpkQ=";
hash = "sha256-l8COGf4EWDvIQcrf8lQF/TROhp1uCb+mv0CDND3xiUg=";
};
postPatch = ''
@@ -32,11 +30,17 @@ buildPythonPackage rec {
dependencies = [
markdown
mkdocs
markupsafe
mkdocs-material
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
# Circular dependencies
"tests/test_api.py"
];
disabledTests = [
# missing pymdownx
"test_reference_implicit_with_code_inlinehilite_plain"
@@ -45,11 +49,11 @@ buildPythonPackage rec {
pythonImportsCheck = [ "mkdocs_autorefs" ];
meta = with lib; {
meta = {
description = "Automatically link across pages in MkDocs";
homepage = "https://github.com/mkdocstrings/autorefs/";
changelog = "https://github.com/mkdocstrings/autorefs/blob/${src.tag}/CHANGELOG.md";
license = licenses.isc;
maintainers = with maintainers; [ fab ];
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ fab ];
};
}