26 lines
263 B
Nix
26 lines
263 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
}
|