depot/third_party/nixpkgs/pkgs/tools/networking/wireproxy/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

31 lines
668 B
Nix

{ 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 ];
};
}