Commit ea91fdc2 authored by QuincePie's avatar QuincePie
Browse files

cdxgen: 10.8.1 -> 10.9.6

parent bff70a9a
Loading
Loading
Loading
Loading
+13 −13
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,7 +57,6 @@ 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";