nixpkgs/pkgs/tools/networking/ligolo-ng/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
788 B
Nix
Raw Normal View History

2021-09-18 23:42:58 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ligolo-ng";
2023-02-09 05:05:45 +00:00
version = "0.4.3";
2021-09-18 23:42:58 +01:00
src = fetchFromGitHub {
owner = "tnpitsecurity";
repo = "ligolo-ng";
rev = "v${version}";
2023-02-09 05:05:45 +00:00
hash = "sha256-O/qiznQs+x7qBYXVItd0W7a0irEzRf0We7kW7HHLqcw=";
2021-09-18 23:42:58 +01:00
};
postConfigure = ''
export CGO_ENABLED=0
'';
ldflags = [ "-s" "-w" "-extldflags '-static'" ];
2023-02-03 09:19:17 +00:00
vendorHash = "sha256-If0K6DmkGk3AmO3eb/ocAl1RJeBN/xgY7dOh9lnVLh8=";
2021-09-18 23:42:58 +01:00
doCheck = false; # tests require network access
meta = with lib; {
homepage = "https://github.com/tnpitsecurity/ligolo-ng";
description = "A tunneling/pivoting tool that uses a TUN interface";
2023-02-09 05:05:45 +00:00
platforms = platforms.unix;
2021-09-18 23:42:58 +01:00
license = licenses.gpl3Only;
maintainers = with maintainers; [ elohmeier ];
};
}