aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
blob: 4445d2cb10b88c564dda03e214d52227c79e5e65 (plain)
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
{
  acl,
  xorg,
  buildGoModule,
}:

buildGoModule rec {
  pname = "fortify";
  version = "1.0.3";

  src = ./.;
  vendorHash = null;

  ldflags = [
    "-s"
    "-w"
    "-X"
    "main.Version=v${version}"
  ];

  buildInputs = [
    acl
    xorg.libxcb
  ];
}