diff --git a/pkgs/tools/security/gowitness/default.nix b/pkgs/tools/security/gowitness/default.nix index ef0d25783c09..80bc40f450e0 100644 --- a/pkgs/tools/security/gowitness/default.nix +++ b/pkgs/tools/security/gowitness/default.nix @@ -1,20 +1,19 @@ -{ lib -, buildGoModule -, fetchFromGitHub -}: +{ lib, buildGoModule, fetchFromGitHub }: buildGoModule rec { pname = "gowitness"; - version = "2.4.0"; + version = "2.4.2"; src = fetchFromGitHub { owner = "sensepost"; repo = pname; rev = version; - hash = "sha256-6O4pGsUu9tG3VAIGaD9aauXaVMhvK+HpEjByE0AwVnE="; + sha256 = "sha256-e4J+W5VHVy/ngC5FDsDBStIaIR7jODWPt8VGTfAse44="; }; - vendorSha256 = "sha256-6FgYDiz050ZlC1XBz7dKkVFKY7gkGhIm0ND23tMwxC8="; + vendorSha256 = "sha256-NFQbulW07sljskjLn6A4f+PMMCJxploYqAHE+K7XxH8="; + + ldflags = [ "-s" "-w" ]; meta = with lib; { description = "Web screenshot utility"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2ebeef52afc8..64bc338eea8f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35955,8 +35955,7 @@ with pkgs; gotestwaf = callPackage ../tools/security/gotestwaf { }; gowitness = callPackage ../tools/security/gowitness { - # pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild - buildGoModule = buildGo117Module; + buildGoModule = buildGo119Module; }; guetzli = callPackage ../applications/graphics/guetzli { };