Merge pull request #263724 from linsui/wireproxy

wireproxy: use buildGo120Module
This commit is contained in:
Weijia Wang 2023-10-28 15:53:56 +02:00 committed by GitHub
commit 38c9fcdf40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";