syft: 0.37.10 -> 0.38.0

main
06kellyjac 2 years ago
parent 2b6f32a998
commit 00b36ba7f7
  1. 6
      pkgs/tools/admin/syft/default.nix

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "syft";
version = "0.37.10";
version = "0.38.0";
src = fetchFromGitHub {
owner = "anchore";
repo = pname;
rev = "v${version}";
sha256 = "sha256-j3/WE13djrgI7S6YISg9kPIkV0IR0C65QU8zj0z0MVg=";
sha256 = "sha256-YJQ0gWhhcB+jkVzu1KP+QMOiiCOyQnSuQ4rSfVGMOCU=";
# 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;
@ -22,7 +22,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf
'';
};
vendorSha256 = "sha256-gIcPxSzWzldR9UX4iB2fkwc0BfATT1B+Nge+sGefmj8=";
vendorSha256 = "sha256-dT+MPuMQoA8Spx8CkF3OBhWdXXssg62ZHIZBrokUkp4=";
nativeBuildInputs = [ installShellFiles ];

Loading…
Cancel
Save