forked from mirrors/nixpkgs
log4j-vuln-scanner: 0.6 -> 0.7.1
This commit is contained in:
parent
977810ca50
commit
788c115928
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue