From fdd954251f4ff5232dadd7e11fe92c1e804cb20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 8 Jul 2026 19:46:41 -0700 Subject: [PATCH] python3Packages.vdirsyncer: use finalAttrs --- pkgs/development/python-modules/vdirsyncer/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/vdirsyncer/default.nix b/pkgs/development/python-modules/vdirsyncer/default.nix index 39fc9d66bb54..92a51a2f0678 100644 --- a/pkgs/development/python-modules/vdirsyncer/default.nix +++ b/pkgs/development/python-modules/vdirsyncer/default.nix @@ -21,13 +21,13 @@ versionCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "vdirsyncer"; version = "0.20.0"; pyproject = true; src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-/rGlM1AKlcFP0VVzOhBW/jWRklU9gsB8a6BPy/xAsS0="; }; @@ -78,9 +78,9 @@ buildPythonPackage rec { meta = { description = "Synchronize calendars and contacts"; homepage = "https://github.com/pimutils/vdirsyncer"; - changelog = "https://github.com/pimutils/vdirsyncer/blob/v${version}/CHANGELOG.rst"; + changelog = "https://github.com/pimutils/vdirsyncer/blob/v${finalAttrs.version}/CHANGELOG.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ stephen-huan ]; mainProgram = "vdirsyncer"; }; -} +})