mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
wireproxy: use buildGo120Module
This commit is contained in:
parent
dc42e2603b
commit
58262c1348
@ -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 New Issue
Block a user