nixpkgs/pkgs/by-name/tu/tunwg/package.nix

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

29 lines
622 B
Nix
Raw Normal View History

2023-07-09 20:26:32 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "tunwg";
version = "24.09.18+760ee81";
2023-07-09 20:26:32 +00:00
src = fetchFromGitHub {
owner = "ntnj";
repo = "tunwg";
rev = "v${version}";
hash = "sha256-+vgl7saHp1Co35nkxQ+IhqYr6GdGd0JIFEFrezQd5Yo=";
2023-07-09 20:26:32 +00:00
};
vendorHash = "sha256-5BJFAnsmx6lbGQTx/6dIdcsETsllCr6C3wPbB2Gvj5Y=";
2023-07-09 20:26:32 +00: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 02:19:15 +00:00
mainProgram = "tunwg";
2023-07-09 20:26:32 +00:00
};
}