From 41377010927d112469b3741b24a021bb90fe5d88 Mon Sep 17 00:00:00 2001 From: Aliaksandr Date: Sun, 31 May 2026 15:41:53 +0300 Subject: [PATCH] python3Packages.hdf5plugin: use finalAttrs Assisted-by: claude-code with claude-opus-4-8[1m]-high --- pkgs/development/python-modules/hdf5plugin/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/hdf5plugin/default.nix b/pkgs/development/python-modules/hdf5plugin/default.nix index ff3364379dfd..3a50bb57e6eb 100644 --- a/pkgs/development/python-modules/hdf5plugin/default.nix +++ b/pkgs/development/python-modules/hdf5plugin/default.nix @@ -18,7 +18,7 @@ avx512Support ? stdenv.hostPlatform.avx512Support, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "hdf5plugin"; version = "6.0.0"; pyproject = true; @@ -26,7 +26,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "silx-kit"; repo = "hdf5plugin"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-LW6rY+zLta4hENBbTll+1amf9TYJiuAumwzgpk1LZ3M="; }; @@ -94,4 +94,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ pbsds ]; }; -} +})