Merge pull request #199168 from 06kellyjac/syft

authored by

Sandro and committed by
GitHub
e28283b9 cd7a92cb

+5 -3
+5 -3
pkgs/tools/admin/syft/default.nix
··· 2 3 buildGoModule rec { 4 pname = "syft"; 5 - version = "0.59.0"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-jFBYH3xhny+KURoYiuyblntmtKD9XKLp3V2ifqkfHZg="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 20 find "$out" -name .git -print0 | xargs -0 rm -rf 21 ''; 22 }; 23 - vendorSha256 = "sha256-xoGraf3Rh14lHyTU12qFxwk1Cv9N6u5FSxtro0zwRJM="; 24 25 nativeBuildInputs = [ installShellFiles ]; 26
··· 2 3 buildGoModule rec { 4 pname = "syft"; 5 + version = "0.60.2"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-qOsKpJwX+8wFvVt/vLdVJ47rfoOn+11phq4HsQVLV6M="; 12 # populate values that require us to use git. By doing this in postFetch we 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 leaveDotGit = true; ··· 20 find "$out" -name .git -print0 | xargs -0 rm -rf 21 ''; 22 }; 23 + # hash mismatch with darwin 24 + proxyVendor = true; 25 + vendorSha256 = "sha256-gwj6Tj4JqZCCLOSw+K1DpwKhcWLtJ6YY5No20WbqQHU="; 26 27 nativeBuildInputs = [ installShellFiles ]; 28