diff --git a/pkgs/development/tools/legitify/default.nix b/pkgs/development/tools/legitify/default.nix index 24ef9d6a6dc0..3b2064821c9d 100644 --- a/pkgs/development/tools/legitify/default.nix +++ b/pkgs/development/tools/legitify/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "legitify"; - version = "0.1.5"; + version = "1.0.11"; src = fetchFromGitHub { owner = "Legit-Labs"; repo = pname; rev = "v${version}"; - hash = "sha256-Sr6P5S5+DqbP0ihCj97l84739/NRAlYJLnXp4B5gHNE="; + hash = "sha256-ijW0vvamuqcN6coV5pAtmjAUjzNXxiqr2S9EwrNlrJc="; }; - vendorHash = "sha256-EJMXzWrOXFl7JFYBp/XAcHLcNyWCKbOBAyo/Yf2mh5s="; + vendorHash = "sha256-QwSh7+LuwdbBtrIGk3ZK6cMW9h7wzNArPT/lVZgUGBU="; ldflags = [ "-w" @@ -22,6 +22,10 @@ buildGoModule rec { "-X github.com/Legit-Labs/legitify/internal/version.Version=${version}" ]; + preCheck = '' + rm e2e/e2e_test.go # tests requires network + ''; + meta = with lib; { description = "Tool to detect and remediate misconfigurations and security risks of GitHub assets"; mainProgram = "legitify";