1{ lib
2, fetchFromGitHub
3, buildNpmPackage
4}:
5
6buildNpmPackage rec {
7 pname = "cdxgen";
8 version = "6.0.14";
9
10 src = fetchFromGitHub {
11 owner = "AppThreat";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-ddeX2EwA2g6wgfsNxf/5ZVsQOHlINGhxif/y6368wCw=";
15 };
16
17 npmDepsHash = "sha256-CJ939wT9dKUzMDH2yHKgT056F2AVBevJlS/NhUBjx0E=";
18
19 dontNpmBuild = true;
20
21 meta = with lib; {
22 description = "Creates CycloneDX Software Bill-of-Materials (SBOM) for your projects from source and container images";
23 homepage = "https://github.com/AppThreat/cdxgen";
24 license = licenses.asl20;
25 maintainers = with maintainers; [ dit7ya ];
26 };
27}