From 0aa23c36a2f42f51985eb860ee1883a5cbf5cad6 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:15:02 +0100 Subject: [PATCH] python3Packages.sphinx-last-updated-by-git: use finalAttrs --- .../python-modules/sphinx-last-updated-by-git/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/sphinx-last-updated-by-git/default.nix b/pkgs/development/python-modules/sphinx-last-updated-by-git/default.nix index 066abf244999..4b90a3c913a0 100644 --- a/pkgs/development/python-modules/sphinx-last-updated-by-git/default.nix +++ b/pkgs/development/python-modules/sphinx-last-updated-by-git/default.nix @@ -10,7 +10,7 @@ sphinx-pytest, pytest-cov-stub, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "sphinx-last-updated-by-git"; version = "0.3.8"; pyproject = true; @@ -55,10 +55,10 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/mgeier/sphinx-last-updated-by-git/blob/${version}/NEWS.rst"; + changelog = "https://github.com/mgeier/sphinx-last-updated-by-git/blob/${finalAttrs.version}/NEWS.rst"; description = "Get the last updated time for each Sphinx page from Git"; homepage = "https://github.com/mgeier/sphinx-last-updated-by-git"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})