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