Merge pull request #301601 from r-ryantm/auto-update/syft

syft: 1.1.0 -> 1.1.1

authored by Nick Cao and committed by GitHub 8fc27717 3d97d77b

+21 -11
+21 -11
pkgs/tools/admin/syft/default.nix
··· 1 - { lib, buildGoModule, fetchFromGitHub, installShellFiles }: 2 3 buildGoModule rec { 4 pname = "syft"; 5 - version = "1.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "anchore"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - hash = "sha256-VLCxbD9LFXH8bdc2v9RB/vlLZtg1ekDotZi1xwORdjc="; 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; ··· 22 }; 23 # hash mismatch with darwin 24 proxyVendor = true; 25 - vendorHash = "sha256-eJCXRXeYAk3VTe+RcFjjKUbKCniPKY1wPXsBpZjeCNw="; 26 27 nativeBuildInputs = [ installShellFiles ]; 28 ··· 31 ldflags = [ 32 "-s" 33 "-w" 34 - "-X main.version=${version}" 35 - "-X main.gitDescription=v${version}" 36 - "-X main.gitTreeState=clean" 37 ]; 38 39 preBuild = '' ··· 66 ''; 67 68 meta = with lib; { 69 homepage = "https://github.com/anchore/syft"; 70 changelog = "https://github.com/anchore/syft/releases/tag/v${version}"; 71 - description = "CLI tool and library for generating a Software Bill of Materials from container images and filesystems"; 72 longDescription = '' 73 A CLI tool and Go library for generating a Software Bill of Materials 74 (SBOM) from container images and filesystems. Exceptional for 75 vulnerability detection when used with a scanner tool like Grype. 76 ''; 77 license = with licenses; [ asl20 ]; 78 - maintainers = with maintainers; [ jk developer-guy kashw2 ]; 79 mainProgram = "syft"; 80 }; 81 }
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromGitHub, 5 + installShellFiles, 6 + }: 7 8 buildGoModule rec { 9 pname = "syft"; 10 + version = "1.1.1"; 11 12 src = fetchFromGitHub { 13 owner = "anchore"; 14 + repo = "syft"; 15 + rev = "refs/tags/v${version}"; 16 + hash = "sha256-75puiKfXp8vS9iiSk6R85RBn9xlQp9jk51ZNBeJXc/U="; 17 # populate values that require us to use git. By doing this in postFetch we 18 # can delete .git afterwards and maintain better reproducibility of the src. 19 leaveDotGit = true; ··· 27 }; 28 # hash mismatch with darwin 29 proxyVendor = true; 30 + 31 + vendorHash = "sha256-AHzKmitIUw0CqBU2Xinb6UVnlZB+2ED85uqGUFonkWM="; 32 33 nativeBuildInputs = [ installShellFiles ]; 34 ··· 37 ldflags = [ 38 "-s" 39 "-w" 40 + "-X=main.version=${version}" 41 + "-X=main.gitDescription=v${version}" 42 + "-X=main.gitTreeState=clean" 43 ]; 44 45 preBuild = '' ··· 72 ''; 73 74 meta = with lib; { 75 + description = "CLI tool and library for generating a Software Bill of Materials from container images and filesystems"; 76 homepage = "https://github.com/anchore/syft"; 77 changelog = "https://github.com/anchore/syft/releases/tag/v${version}"; 78 longDescription = '' 79 A CLI tool and Go library for generating a Software Bill of Materials 80 (SBOM) from container images and filesystems. Exceptional for 81 vulnerability detection when used with a scanner tool like Grype. 82 ''; 83 license = with licenses; [ asl20 ]; 84 + maintainers = with maintainers; [ 85 + developer-guy 86 + jk 87 + kashw2 88 + ]; 89 mainProgram = "syft"; 90 }; 91 }