From 2d2dfe7e7bd51b8dfff995eaffef33a599722c0d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 26 Jan 2024 05:43:21 +0000 Subject: [PATCH 1/2] gotestwaf: 0.4.9 -> 0.4.10 --- pkgs/tools/security/gotestwaf/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/gotestwaf/default.nix b/pkgs/tools/security/gotestwaf/default.nix index 78ba5e06e4b9..2ce99c1f75a0 100644 --- a/pkgs/tools/security/gotestwaf/default.nix +++ b/pkgs/tools/security/gotestwaf/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "gotestwaf"; - version = "0.4.9"; + version = "0.4.10"; src = fetchFromGitHub { owner = "wallarm"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-fBmn+p5uVGnI4lyL12cX4S8eda79k2Y0RPQG9iZQs2Q="; + hash = "sha256-G/1X7kq5n04dYoluvlIswOCE/BvhgZwyXCbPrKIE/SY="; }; vendorHash = null; From 9a050d1f392fe5d994a67b68ebe41f9018df2c3c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 26 Jan 2024 08:03:33 +0100 Subject: [PATCH 2/2] gotestwaf: refactor --- pkgs/tools/security/gotestwaf/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/gotestwaf/default.nix b/pkgs/tools/security/gotestwaf/default.nix index 2ce99c1f75a0..9f0906f4c8f1 100644 --- a/pkgs/tools/security/gotestwaf/default.nix +++ b/pkgs/tools/security/gotestwaf/default.nix @@ -11,7 +11,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "wallarm"; - repo = pname; + repo = "gotestwaf"; rev = "refs/tags/v${version}"; hash = "sha256-G/1X7kq5n04dYoluvlIswOCE/BvhgZwyXCbPrKIE/SY="; }; @@ -22,6 +22,8 @@ buildGoModule rec { doCheck = false; ldflags = [ + "-w" + "-s" "-X=github.com/wallarm/gotestwaf/internal/version.Version=v${version}" ];