2023-07-09 22:26:32 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "tunwg";
|
2024-01-16 23:03:16 +01:00
|
|
|
version = "24.01.15+9f04d73";
|
2023-07-09 22:26:32 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ntnj";
|
|
|
|
repo = "tunwg";
|
|
|
|
rev = "v${version}";
|
2024-01-16 23:03:16 +01:00
|
|
|
hash = "sha256-M7iMl80uxw0hKg4sK8Tv6U5+nMOK8eTfb9SGn+U2+8E=";
|
2023-07-09 22:26:32 +02:00
|
|
|
};
|
|
|
|
|
2024-01-16 23:03:16 +01:00
|
|
|
vendorHash = "sha256-VlH41hOWC5QBCYZxiKCUZRmw2vHRbbPyzToRMU6kDO8=";
|
2023-07-09 22:26:32 +02:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Secure private tunnel to your local servers";
|
|
|
|
homepage = "https://github.com/ntnj/tunwg";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
2024-02-11 03:19:15 +01:00
|
|
|
mainProgram = "tunwg";
|
2023-07-09 22:26:32 +02:00
|
|
|
};
|
|
|
|
}
|