depot/third_party/nixpkgs/pkgs/tools/security/cdxgen/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

27 lines
659 B
Nix

{ lib
, fetchFromGitHub
, buildNpmPackage
}:
buildNpmPackage rec {
pname = "cdxgen";
version = "9.11.1";
src = fetchFromGitHub {
owner = "AppThreat";
repo = pname;
rev = "v${version}";
sha256 = "sha256-UrwC6T0XJeEETMtwphLWAnN7grWPI/O4aa3IKrWMhOM=";
};
npmDepsHash = "sha256-RbHauQkggFlIoIgDdC7A4Y/O4viTsDWNB2MPeDi8oZc=";
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 ];
};
}