2023-02-02 18:25:31 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildNpmPackage
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
pname = "cdxgen";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "9.10.2";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "AppThreat";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-d4abSPP0dLi5xzq1CYxi1MSKogrQ+YcZjmlUEr5+oBQ=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
npmDepsHash = "sha256-KLI6wJrP2s2UWkSC5zmFuC2sa2owRgAhnR4UVrI0ThY=";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|