From 88d6f8f42e5b2ede6c56580708847e3623c889e0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 18 Jun 2022 12:43:28 +0200 Subject: [PATCH] grype: 0.39.0 -> 0.40.0 https://github.com/anchore/grype/releases/tag/v0.40.0 CVE-2022-26945: https://github.com/advisories/GHSA-x24g-9w7v-vprh --- pkgs/tools/security/grype/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/grype/default.nix b/pkgs/tools/security/grype/default.nix index 12d05a3b75e1..e57ae69b1872 100644 --- a/pkgs/tools/security/grype/default.nix +++ b/pkgs/tools/security/grype/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "grype"; - version = "0.39.0"; + version = "0.40.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; - hash = "sha256-Lmklcal39jbvwkJaUit3JTmafa26oDx25WzW1oQUSoc="; + hash = "sha256-Lpv4A8g/yfurma5NKQFWPy5vfuOyp/dSLf4pQCFOKLY="; # populate values that require us to use git. By doing this in postFetch we # can delete .git afterwards and maintain better reproducibility of the src. leaveDotGit = true; @@ -26,7 +26,7 @@ buildGoModule rec { ''; }; - vendorSha256 = "sha256-fIxVkJSREZ86KW1SMJqHSByHFTdyJfSiestIZCMsnJI="; + vendorSha256 = "sha256-4dw7OPrBwpMTHY6MpAJ1p9sEauBw+k3aYmoa0ezn9Rw="; nativeBuildInputs = [ installShellFiles