diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-08-11 18:03:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-11 18:03:09 +0200 |
commit | a788e4e1c2cec8da090f5181d0e6024d76bfdda7 (patch) | |
tree | 606ad659a6fa0e5cda3da03bf840b8fe6f75c09c /pkgs/development | |
parent | defe17b19a3a69e03ef1e8295450225f0876e0e3 (diff) | |
parent | fb2c8d29b6c0953bfd701f3921a5f31ab087db19 (diff) |
Merge pull request #248497 from fabaff/mkdocs-autorefs-bump
python311Packages.mkdocs-autorefs: 0.4.1 -> 0.5.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/mkdocs-autorefs/default.nix | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/mkdocs-autorefs/default.nix b/pkgs/development/python-modules/mkdocs-autorefs/default.nix index 3b98ff015ccad..1a0b64efe1e15 100644 --- a/pkgs/development/python-modules/mkdocs-autorefs/default.nix +++ b/pkgs/development/python-modules/mkdocs-autorefs/default.nix @@ -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 ]; }; |