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 ]; }; -} +})