nixpkgs/pkgs/tools/networking/tunwg/default.nix

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

28 lines
595 B
Nix
Raw Normal View History

2023-07-09 20:26:32 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "tunwg";
version = "23.07.15+3213668";
2023-07-09 20:26:32 +00:00
src = fetchFromGitHub {
owner = "ntnj";
repo = "tunwg";
rev = "v${version}";
hash = "sha256-FghsfL3GW8jWBICJWXsqiFZPbDhIKl2nY8RsMH6ILTw=";
2023-07-09 20:26:32 +00:00
};
vendorHash = "sha256-pzUWhKcht9vodBiZGe9RU+tm0c1/slBGeIrKfZlIDdk=";
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 ];
};
}