diff --git a/pkgs/development/python-modules/gvm-tools/default.nix b/pkgs/development/python-modules/gvm-tools/default.nix index 09d205f3c02c..9fc6cdff22d8 100644 --- a/pkgs/development/python-modules/gvm-tools/default.nix +++ b/pkgs/development/python-modules/gvm-tools/default.nix @@ -7,7 +7,7 @@ python-gvm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "gvm-tools"; version = "25.4.6"; pyproject = true; @@ -15,7 +15,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "greenbone"; repo = "gvm-tools"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cx2eGE+oEZXLi9Zw769jzQAUwEUOavh4lSfYNn7aBsM="; }; @@ -38,8 +38,8 @@ buildPythonPackage rec { meta = { description = "Collection of APIs that help with remote controlling a Greenbone Security Manager"; homepage = "https://github.com/greenbone/gvm-tools"; - changelog = "https://github.com/greenbone/gvm-tools/releases/tag/${src.tag}"; + changelog = "https://github.com/greenbone/gvm-tools/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; -} +})