From 84b445fbdf5aa8a41de1ac753b69635d69f94249 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 21 Jan 2026 08:21:27 +0000 Subject: [PATCH 1/2] gvm-libs: 22.35.0 -> 22.35.2 --- pkgs/by-name/gv/gvm-libs/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/gv/gvm-libs/package.nix b/pkgs/by-name/gv/gvm-libs/package.nix index 71a6f5cb9eb5..d973f4125015 100644 --- a/pkgs/by-name/gv/gvm-libs/package.nix +++ b/pkgs/by-name/gv/gvm-libs/package.nix @@ -26,13 +26,13 @@ stdenv.mkDerivation rec { pname = "gvm-libs"; - version = "22.35.0"; + version = "22.35.2"; src = fetchFromGitHub { owner = "greenbone"; repo = "gvm-libs"; tag = "v${version}"; - hash = "sha256-3TWJyh9xzS/HLRjAc4hsBuu3P0SquHEZXjunWw1FqWU="; + hash = "sha256-DVYU+6hUps2nwgkTWu228wVYtke4oDFUqXM73DEN6LM="; }; postPatch = '' From 339a85107b1c9db9894426fc8c48a088a2464154 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 21 Jan 2026 10:19:37 +0100 Subject: [PATCH 2/2] gvm-libs: migrate to finalAttrs --- pkgs/by-name/gv/gvm-libs/package.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/gv/gvm-libs/package.nix b/pkgs/by-name/gv/gvm-libs/package.nix index d973f4125015..cda5cebaec15 100644 --- a/pkgs/by-name/gv/gvm-libs/package.nix +++ b/pkgs/by-name/gv/gvm-libs/package.nix @@ -24,14 +24,14 @@ zlib, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "gvm-libs"; version = "22.35.2"; src = fetchFromGitHub { owner = "greenbone"; repo = "gvm-libs"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-DVYU+6hUps2nwgkTWu228wVYtke4oDFUqXM73DEN6LM="; }; @@ -73,9 +73,9 @@ stdenv.mkDerivation rec { meta = { description = "Libraries module for the Greenbone Vulnerability Management Solution"; homepage = "https://github.com/greenbone/gvm-libs"; - changelog = "https://github.com/greenbone/gvm-libs/releases/tag/${src.tag}"; - license = with lib.licenses; [ gpl2Plus ]; + changelog = "https://github.com/greenbone/gvm-libs/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ fab ]; platforms = lib.platforms.linux; }; -} +})