From 901e7471ccdd79535309be934dfe4234eff42f95 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Fri, 24 Apr 2026 17:24:42 +0100 Subject: [PATCH] grype: 0.108.0 -> 0.111.1 Diff: https://github.com/anchore/grype/compare/v0.108.0...v0.111.1 Changelog: https://github.com/anchore/grype/releases/tag/v0.111.1 --- pkgs/by-name/gr/grype/package.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/gr/grype/package.nix b/pkgs/by-name/gr/grype/package.nix index edc23c41fe0c..dd773663a161 100644 --- a/pkgs/by-name/gr/grype/package.nix +++ b/pkgs/by-name/gr/grype/package.nix @@ -7,17 +7,18 @@ installShellFiles, openssl, net-tools, + zstd, }: buildGoModule (finalAttrs: { pname = "grype"; - version = "0.108.0"; + version = "0.111.1"; src = fetchFromGitHub { owner = "anchore"; repo = "grype"; tag = "v${finalAttrs.version}"; - hash = "sha256-5TYQKLVl3iM1Litp86n0aAaj3p2yKA1fbJ6bduIjfp8="; + hash = "sha256-eAiExxvLFkHsmslfhhbQG0ogaSMF9eOeCq0u2wUimp0="; # 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; @@ -32,7 +33,7 @@ buildGoModule (finalAttrs: { proxyVendor = true; - vendorHash = "sha256-8LVpcSjWdGwYv8CMuMZyaHC9+wMJNPDSNV6a8VsmA0M="; + vendorHash = "sha256-rsdZt+xKjIJpWS5pYx8A+ryY1D2WIKquKjsQBkxToUQ="; nativeBuildInputs = [ installShellFiles ]; @@ -40,6 +41,7 @@ buildGoModule (finalAttrs: { git openssl net-tools + zstd ]; subPackages = [ "cmd/grype" ]; @@ -70,7 +72,7 @@ buildGoModule (finalAttrs: { unset ldflags # patch utility script - patchShebangs grype/db/v5/distribution/test-fixtures/tls/generate-x509-cert-pair.sh + patchShebangs grype/db/v5/distribution/testdata/tls/generate-x509-cert-pair.sh # FIXME: these tests fail when building with Nix substituteInPlace test/cli/config_test.go \