cdxgen: 10.8.1 -> 10.9.6 (#338910)

This commit is contained in:
Adam C. Stephens 2024-09-02 20:47:08 -04:00 committed by GitHub
commit f48228e065
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 23 additions and 14 deletions

View File

@ -17035,6 +17035,12 @@
githubId = 1332289;
name = "Quentin Machu";
};
quincepie = {
email = "flaky@quincepie.dev";
github = "Quince-Pie";
githubId = 127546159;
name = "QuincePie";
};
quinn-dougherty = {
email = "quinnd@riseup.net";
github = "quinn-dougherty";

View File

@ -1,23 +1,24 @@
{ fetchFromGitHub
, lib
, makeWrapper
, nodejs
, node-gyp
, pnpm_9
, python3
, stdenv
, xcbuild
{
fetchFromGitHub,
lib,
makeWrapper,
nodejs,
node-gyp,
pnpm_9,
python3,
stdenv,
xcbuild,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cdxgen";
version = "10.8.1";
version = "10.9.6";
src = fetchFromGitHub {
owner = "CycloneDX";
repo = "cdxgen";
rev = "v${finalAttrs.version}";
hash = "sha256-PFvSHuIaHaGfKI5s7DOW1adSKpnURaQtk5lAO9lr1OM=";
hash = "sha256-WgY0soHwedYbQNDvDIqtaxMSzVcaOVV2/22wOXU2nbA=";
};
nativeBuildInputs = [
@ -30,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
pnpmDeps = pnpm_9.fetchDeps {
inherit (finalAttrs) pname version src;
hash = "sha256-IO7hn5xHdlQ+uyH8RWc7ZnnthXydCnMSde22YYMWOoc=";
hash = "sha256-IgmTYmCmZ65Da5zL6Tx7P4bt2o+YhX0UvU0DEONmr7w=";
};
buildPhase = ''
@ -56,12 +57,14 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
meta = with lib; {
description = "Creates CycloneDX Software Bill-of-Materials (SBOM) for your projects from source and container images";
mainProgram = "cdxgen";
homepage = "https://github.com/CycloneDX/cdxgen";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
maintainers = with maintainers; [
dit7ya
quincepie
];
};
})