summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-08 12:24:33 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-01-08 12:25:18 +0100
commit6ae53e4cca6ceb603d108a6b7fcaf52960d972bb (patch)
tree7c0c0a15787bcee5b365cc89a409fb0c5710eb00
parent2a19c135fc3a023b2bbf795f839b3c650ad2ee22 (diff)
downloadnixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.tar
nixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.tar.gz
nixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.tar.bz2
nixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.tar.lz
nixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.tar.xz
nixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.tar.zst
nixpkgs-6ae53e4cca6ceb603d108a6b7fcaf52960d972bb.zip
grype: 0.54.0 -> 0.55.0
Diff: https://github.com/anchore/grype.git/compare/v0.54.0...v0.55.0

Changelog: https://github.com/anchore/grype/releases/tag/v0.55.0
-rw-r--r--pkgs/tools/security/grype/default.nix14
1 files changed, 3 insertions, 11 deletions
diff --git a/pkgs/tools/security/grype/default.nix b/pkgs/tools/security/grype/default.nix
index f225c0e0383..862cde157a2 100644
--- a/pkgs/tools/security/grype/default.nix
+++ b/pkgs/tools/security/grype/default.nix
@@ -8,13 +8,13 @@
 
 buildGoModule rec {
   pname = "grype";
-  version = "0.54.0";
+  version = "0.55.0";
 
   src = fetchFromGitHub {
     owner = "anchore";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-/c7WP9m+8AULjmchpZmcTcnXG0K8gGxjseXS/QJXj+k=";
+    hash = "sha256-Y72h1YCf42RinGw2mKZb8Bz8ip+LUW377xwJht67Q1s=";
     # 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;
@@ -28,7 +28,7 @@ buildGoModule rec {
   };
   proxyVendor = true;
 
-  vendorHash = "sha256-+WMaQaBf4uMCCQTyycHlkYeKbRtk6oAlqbHBYBqh64M=";
+  vendorHash = "sha256-xzBOZyzwxVFTFgtmu7DLBpdkV9bwzJ9RETkdyV2HtQo=";
 
   nativeBuildInputs = [
     installShellFiles
@@ -70,14 +70,6 @@ buildGoModule rec {
       --replace "TestCmd" "SkipCmd"
     substituteInPlace grype/pkg/provider_test.go \
       --replace "TestSyftLocationExcludes" "SkipSyftLocationExcludes"
-    substituteInPlace grype/presenter/cyclonedx/presenter_test.go \
-      --replace "TestCycloneDxPresenterImage" "SkipCycloneDxPresenterImage"
-    substituteInPlace grype/presenter/cyclonedxvex/presenter_test.go \
-      --replace "TestCycloneDxPresenterImage" "SkipCycloneDxPresenterImage"
-    substituteInPlace grype/presenter/sarif/presenter_test.go \
-      --replace "Test_imageToSarifReport" "Skip_imageToSarifReport" \
-      --replace "TestSarifPresenterImage" "SkipSarifPresenterImage"
-
     # remove tests that depend on git
     substituteInPlace test/cli/db_validations_test.go \
       --replace "TestDBValidations" "SkipDBValidations"