python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / log4j-vuln-scanner / default.nix
bloba33848b5d4871d6535e85a84deca7e42f826ed03
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 }:
6 buildGoModule rec {
7   pname = "log4j-vuln-scanner";
8   version = "0.13";
10   src = fetchFromGitHub {
11     owner = "hillu";
12     repo = "local-log4j-vuln-scanner";
13     rev = "v${version}";
14     sha256 = "sha256-YMD2233EdrrF1SLjwiRcNr53b7Rf5Tu8CZC43QhSY7c=";
15   };
17   vendorSha256 = null;
19   postInstall = ''
20     mv $out/bin/scanner $out/bin/$pname
21     mv $out/bin/patcher $out/bin/log4j-vuln-patcher
22   '';
24   meta = with lib; {
25     description = "Local log4j vulnerability scanner";
26     homepage = "https://github.com/hillu/local-log4j-vuln-scanner";
27     license = with licenses; [ gpl3Only ];
28     maintainers = with maintainers; [ fab ];
29   };