depot/third_party/nixpkgs/pkgs/by-name/sb/sbom-utility/package.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

32 lines
799 B
Nix

{
lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "sbom-utility";
version = "0.16.0";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "sbom-utility";
rev = "refs/tags/v${version}";
hash = "sha256-EqK2TGlv2RGfvR95lzYz3EHJkfq4q4Ty5H2zFdd9cME=";
};
vendorHash = "sha256-qh8kIwgrlmHkocM5ZoGnOY7ISJlct/TV7dAxvXlPw68=";
preCheck = ''
cd test
'';
meta = with lib; {
description = "Utility that provides an API platform for validating, querying and managing BOM data";
homepage = "https://github.com/CycloneDX/sbom-utility";
changelog = "https://github.com/CycloneDX/sbom-utility/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ thillux ];
mainProgram = "sbom-utility";
};
}