forked from mirrors/nixpkgs
cdxgen: init at 6.0.14
This commit is contained in:
parent
16d623c3fc
commit
eaed23363a
27
pkgs/tools/security/cdxgen/default.nix
Normal file
27
pkgs/tools/security/cdxgen/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildNpmPackage
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "cdxgen";
|
||||
version = "6.0.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AppThreat";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ddeX2EwA2g6wgfsNxf/5ZVsQOHlINGhxif/y6368wCw=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-CJ939wT9dKUzMDH2yHKgT056F2AVBevJlS/NhUBjx0E=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Creates CycloneDX Software Bill-of-Materials (SBOM) for your projects from source and container images";
|
||||
homepage = "https://github.com/AppThreat/cdxgen";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ dit7ya ];
|
||||
};
|
||||
}
|
|
@ -3861,6 +3861,8 @@ with pkgs;
|
|||
|
||||
cde = callPackage ../tools/package-management/cde { };
|
||||
|
||||
cdxgen = callPackage ../tools/security/cdxgen { };
|
||||
|
||||
ceres-solver = callPackage ../development/libraries/ceres-solver {
|
||||
gflags = null; # only required for examples/tests
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue