wireproxy: use buildGo120Module

This commit is contained in:
linsui 2023-10-27 15:35:42 +08:00
parent dc42e2603b
commit 58262c1348

View file

@ -1,9 +1,11 @@
{ lib
, buildGoModule
, buildGo120Module
, fetchFromGitHub
, testers
, wireproxy
}:
buildGoModule rec {
buildGo120Module rec {
pname = "wireproxy";
version = "1.0.6";
@ -22,6 +24,12 @@ buildGoModule rec {
vendorHash = "sha256-LBLEb2oVi5ILNtoOtmJZ7NC7hMvLZcexYAxwmb4iUBo=";
passthru.tests.version = testers.testVersion {
package = wireproxy;
command = "wireproxy --version";
version = src.rev;
};
meta = with lib; {
description = "Wireguard client that exposes itself as a socks5 proxy";
homepage = "https://github.com/octeep/wireproxy";