From 788c11592816d8455e722895eaa80c6ef8551f00 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 15 Dec 2021 10:21:20 +0100 Subject: [PATCH] log4j-vuln-scanner: 0.6 -> 0.7.1 --- pkgs/tools/security/log4j-vuln-scanner/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/log4j-vuln-scanner/default.nix b/pkgs/tools/security/log4j-vuln-scanner/default.nix index f15a439a3822..ae51ecef192f 100644 --- a/pkgs/tools/security/log4j-vuln-scanner/default.nix +++ b/pkgs/tools/security/log4j-vuln-scanner/default.nix @@ -5,17 +5,22 @@ buildGoModule rec { pname = "log4j-vuln-scanner"; - version = "0.6"; + version = "0.7.1"; src = fetchFromGitHub { owner = "hillu"; repo = "local-log4j-vuln-scanner"; rev = "v${version}"; - sha256 = "sha256-6LbKwDu3YZFRaIUOcepbLVZC9OYnqb0Tl0ElGDIzW48="; + sha256 = "sha256-YEXYZtjcZTl+9IgRuSRK/pvnISuW6Jbwuv+dqr4pork="; }; vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + postInstall = '' + mv $out/bin/scanner $out/bin/$pname + mv $out/bin/patcher $out/bin/log4j-vuln-patcher + ''; + meta = with lib; { description = "Local log4j vulnerability scanner"; homepage = "https://github.com/hillu/local-log4j-vuln-scanner";