fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
27 lines
659 B
Nix
27 lines
659 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildNpmPackage
|
|
}:
|
|
|
|
buildNpmPackage rec {
|
|
pname = "cdxgen";
|
|
version = "10.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AppThreat";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-CmX19UdmXTbmO+6nFzsFbZspmIWYFtcUVaA0j8iU7GI=";
|
|
};
|
|
|
|
npmDepsHash = "sha256-Vd+zRExQFmmv9f8uWQFE/nWRs6y86nLFu5HrM6iCf7U=";
|
|
|
|
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 ];
|
|
};
|
|
}
|