converged-security-suite: init at 2.8.1
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
parent
a4e36eeb07
commit
6df79a104a
49
pkgs/by-name/co/converged-security-suite/package.nix
Normal file
49
pkgs/by-name/co/converged-security-suite/package.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "converged-security-suite";
|
||||
|
||||
version = "2.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "9elements";
|
||||
repo = "converged-security-suite";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-/TsKKBrwiwPVyfmDvzouVRyAPLVPsLZFmIIzl0gJWL4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-p1r6LS0h5NbUdGUHEPtZydXNOjyz7jXegmbFBl38MEI=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/core/bg-prov"
|
||||
"cmd/core/bg-suite"
|
||||
"cmd/core/txt-prov"
|
||||
"cmd/core/txt-suite"
|
||||
"cmd/exp/amd-suite"
|
||||
"cmd/exp/pcr0tool"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
go test -v ./pkg/...
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/9elements/converged-security-suite";
|
||||
changelog = "https://github.com/9elements/converged-security-suite/releases/tag/v${finalAttrs.version}";
|
||||
description = "Converged Security Suite for Intel & AMD platform security features";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [
|
||||
felixsinger
|
||||
];
|
||||
mainProgram = "bg-prov";
|
||||
};
|
||||
})
|
||||
Loading…
x
Reference in New Issue
Block a user