Merge pull request #248497 from fabaff/mkdocs-autorefs-bump
python311Packages.mkdocs-autorefs: 0.4.1 -> 0.5.0
This commit is contained in:
commit
a788e4e1c2
1 changed files with 12 additions and 11 deletions
|
@ -4,26 +4,31 @@
|
|||
, markdown
|
||||
, mkdocs
|
||||
, pytestCheckHook
|
||||
, pdm-pep517
|
||||
, pdm-backend
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-autorefs";
|
||||
version = "0.4.1";
|
||||
version = "0.5.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mkdocstrings";
|
||||
repo = "autorefs";
|
||||
rev = version;
|
||||
hash = "sha256-kiHb/XSFw6yaUbLJHBvHaQAOVUM6UfyFeomgniDZqgU=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-GZKQlOXhQIQhS/z4cbmS6fhAKYgnVhSXh5a8Od7+TWc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-pep517
|
||||
pdm-backend
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -35,11 +40,6 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'dynamic = ["version"]' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mkdocs_autorefs"
|
||||
];
|
||||
|
@ -47,6 +47,7 @@ buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Automatically link across pages in MkDocs";
|
||||
homepage = "https://github.com/mkdocstrings/autorefs/";
|
||||
changelog = "https://github.com/mkdocstrings/autorefs/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue