Unverified Commit f48228e0 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

cdxgen: 10.8.1 -> 10.9.6 (#338910)

parents ab14ead9 107a78f1
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+17 −14
Original line number Diff line number Diff line
{ 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
    ];
  };
})