diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/networking/wireproxy/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/networking/wireproxy/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/networking/wireproxy/default.nix b/nixpkgs/pkgs/tools/networking/wireproxy/default.nix new file mode 100644 index 000000000000..2c88f40825d9 --- /dev/null +++ b/nixpkgs/pkgs/tools/networking/wireproxy/default.nix @@ -0,0 +1,31 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule rec { + pname = "wireproxy"; + version = "1.0.6"; + + src = fetchFromGitHub { + owner = "pufferffish"; + repo = "wireproxy"; + rev = "v${version}"; + hash = "sha256-Sy8jApnU3dpsXi5vWyEY6D250xpG73aByNZ/pSg90l0="; + }; + + ldflags = [ + "-s" + "-w" + "-X main.version=v${version}" + ]; + + vendorHash = "sha256-LBLEb2oVi5ILNtoOtmJZ7NC7hMvLZcexYAxwmb4iUBo="; + + meta = with lib; { + description = "Wireguard client that exposes itself as a socks5 proxy"; + homepage = "https://github.com/octeep/wireproxy"; + license = licenses.isc; + maintainers = with maintainers; [ _3JlOy-PYCCKUi ]; + }; +} |