diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-06-16 00:24:21 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2022-06-16 00:24:21 +0200 |
commit | 499c8b248412e9f959a228d8278e8ebe1152695d (patch) | |
tree | 95e72d1517f9ce27468a5e20cf8696bd93d8aeb0 /pkgs/tools/security/grype | |
parent | 94c99e1b9b138e0c7ec4a8f476e06da59faf09f5 (diff) |
grype: 0.37.0 -> 0.39.0
Diffstat (limited to 'pkgs/tools/security/grype')
-rw-r--r-- | pkgs/tools/security/grype/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/tools/security/grype/default.nix b/pkgs/tools/security/grype/default.nix index 6f7a7276942e2..12d05a3b75e1f 100644 --- a/pkgs/tools/security/grype/default.nix +++ b/pkgs/tools/security/grype/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildGoModule , fetchFromGitHub , installShellFiles @@ -6,13 +7,13 @@ buildGoModule rec { pname = "grype"; - version = "0.37.0"; + version = "0.39.0"; src = fetchFromGitHub { owner = "anchore"; repo = pname; rev = "v${version}"; - sha256 = "sha256-LcJtEzwChafG269cGZV3iBSlkjQSGIxSMZNj/5HbXVw="; + hash = "sha256-Lmklcal39jbvwkJaUit3JTmafa26oDx25WzW1oQUSoc="; # 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; @@ -25,7 +26,7 @@ buildGoModule rec { ''; }; - vendorSha256 = "sha256-7f/kHCWUYilhJeyB6UBJ6yJVFf4Ij6ZBwaeKTaQrZdY="; + vendorSha256 = "sha256-fIxVkJSREZ86KW1SMJqHSByHFTdyJfSiestIZCMsnJI="; nativeBuildInputs = [ installShellFiles @@ -68,5 +69,8 @@ buildGoModule rec { ''; license = with licenses; [ asl20 ]; maintainers = with maintainers; [ fab jk ]; + # Need updated macOS SDK + # https://github.com/NixOS/nixpkgs/issues/101229 + broken = (stdenv.isDarwin && stdenv.isx86_64); }; } |