nixpkgs/pkgs/tools/security/cdxgen/default.nix
2024-04-05 00:06:45 +00:00

28 lines
659 B
Nix

{ lib
, fetchFromGitHub
, buildNpmPackage
}:
buildNpmPackage rec {
pname = "cdxgen";
version = "10.2.6";
src = fetchFromGitHub {
owner = "AppThreat";
repo = pname;
rev = "v${version}";
sha256 = "sha256-tbZVSFsvjWp+VPcET4/gynwDVF1XBhFQ1dObj4fSWBo=";
};
npmDepsHash = "sha256-svp8h5xjV3/Ikq7YR/2y70Y9ufOrrAPcG4/nWF1jUug=";
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 ];
};
}