about summary refs log tree commit diff
path: root/pkgs/by-name/ae/aeacus/package.nix
blob: 07a75a2d3a3cdaaf33a9e619fde0e5e47a059f19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

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";
    platforms = platforms.linux;
  };
}