1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "wireproxy";
8 version = "1.0.6";
9
10 src = fetchFromGitHub {
11 owner = "pufferffish";
12 repo = "wireproxy";
13 rev = "v${version}";
14 hash = "sha256-Sy8jApnU3dpsXi5vWyEY6D250xpG73aByNZ/pSg90l0=";
15 };
16
17 ldflags = [
18 "-s"
19 "-w"
20 "-X main.version=v${version}"
21 ];
22
23 vendorHash = "sha256-LBLEb2oVi5ILNtoOtmJZ7NC7hMvLZcexYAxwmb4iUBo=";
24
25 meta = with lib; {
26 description = "Wireguard client that exposes itself as a socks5 proxy";
27 homepage = "https://github.com/octeep/wireproxy";
28 license = licenses.isc;
29 maintainers = with maintainers; [ _3JlOy-PYCCKUi ];
30 };
31}