2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
2024-01-25 14:12:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "aeacus";
|
|
|
|
version = "2.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elysium-suite";
|
|
|
|
repo = "aeacus";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-LMsfogcz3CoShQDqyshMshb+iz2r0k5I7NDLXevMakI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-WOXOM08UYECdGx+e54n4BgLP3cr+st3qKi8iQXebPvk=";
|
|
|
|
|
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
];
|
|
|
|
|
|
|
|
# Tests require network access
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Vulnerability remediation scoring system";
|
|
|
|
homepage = "https://github.com/elysium-suite/aeacus";
|
|
|
|
changelog = "https://github.com/elysium-suite/aeacus/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
mainProgram = "aeacus";
|
2024-06-05 15:53:02 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
}
|