Merge pull request #263724 from linsui/wireproxy
wireproxy: use buildGo120Module
This commit is contained in:
commit
38c9fcdf40
1 changed files with 10 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue