ligolo-ng: init at 0.1
This commit is contained in:
parent
5aef5e8d1e
commit
d1333319d2
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/networking/ligolo-ng/default.nix
Normal file
31
pkgs/tools/networking/ligolo-ng/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -17857,6 +17857,8 @@ with pkgs;
|
||||||
|
|
||||||
lightstep-tracer-cpp = callPackage ../development/libraries/lightstep-tracer-cpp { };
|
lightstep-tracer-cpp = callPackage ../development/libraries/lightstep-tracer-cpp { };
|
||||||
|
|
||||||
|
ligolo-ng = callPackage ../tools/networking/ligolo-ng { };
|
||||||
|
|
||||||
linenoise = callPackage ../development/libraries/linenoise { };
|
linenoise = callPackage ../development/libraries/linenoise { };
|
||||||
|
|
||||||
linenoise-ng = callPackage ../development/libraries/linenoise-ng { };
|
linenoise-ng = callPackage ../development/libraries/linenoise-ng { };
|
||||||
|
|
Loading…
Reference in a new issue