Merge pull request #138469 from elohmeier/ligolo-ng

ligolo-ng: init at 0.1
This commit is contained in:
Fabian Affolter 2021-10-06 12:53:02 +02:00 committed by GitHub
commit 234ca69edd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "ligolo-ng";
version = "0.1";
src = fetchFromGitHub {
owner = "tnpitsecurity";
repo = "ligolo-ng";
rev = "v${version}";
sha256 = "sha256-Ipfp+Ke4iSJmvUtfNUt/XSPTSDSdeMs+Ss8acZHUYrE=";
};
postConfigure = ''
export CGO_ENABLED=0
'';
ldflags = [ "-s" "-w" "-extldflags '-static'" ];
vendorSha256 = "sha256-axRCThmFavR+GTRWSgdAr2mbrp07hsFea0rKLQNIhgU=";
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";
platforms = platforms.linux;
license = licenses.gpl3Only;
maintainers = with maintainers; [ elohmeier ];
};
}

View file

@ -18115,6 +18115,8 @@ with pkgs;
lightstep-tracer-cpp = callPackage ../development/libraries/lightstep-tracer-cpp { };
ligolo-ng = callPackage ../tools/networking/ligolo-ng { };
linenoise = callPackage ../development/libraries/linenoise { };
linenoise-ng = callPackage ../development/libraries/linenoise-ng { };