cyclonedx-gomod: init at 1.3.0
This commit is contained in:
parent
9acb1fcfb6
commit
a498592064
29
pkgs/tools/security/cyclonedx-gomod/default.nix
Normal file
29
pkgs/tools/security/cyclonedx-gomod/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{ lib
|
||||||
|
, buildGoModule
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "cyclonedx-gomod";
|
||||||
|
version = "1.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "CycloneDX";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-jUTSPsnGStP4aPfYS4kWiFiIEDnGkfg1Zm4EX+eD4Wo=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-ZiIift8On6vpu8IKI/GD3WFaFb2Xd54t8FJJqwR4tsM=";
|
||||||
|
|
||||||
|
# Tests require network access and cyclonedx executable
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tool to create CycloneDX Software Bill of Materials (SBOM) from Go modules";
|
||||||
|
homepage = "https://github.com/CycloneDX/cyclonedx-gomod";
|
||||||
|
changelog = "https://github.com/CycloneDX/cyclonedx-gomod/releases/tag/v${version}";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2938,6 +2938,8 @@ with pkgs;
|
||||||
|
|
||||||
cyclone-scheme = callPackage ../development/interpreters/cyclone { };
|
cyclone-scheme = callPackage ../development/interpreters/cyclone { };
|
||||||
|
|
||||||
|
cyclonedx-gomod = callPackage ../tools/security/cyclonedx-gomod { };
|
||||||
|
|
||||||
cyclonedx-python = callPackage ../tools/misc/cyclonedx-python { };
|
cyclonedx-python = callPackage ../tools/misc/cyclonedx-python { };
|
||||||
|
|
||||||
dcap = callPackage ../tools/networking/dcap { };
|
dcap = callPackage ../tools/networking/dcap { };
|
||||||
|
|
Loading…
Reference in a new issue