Unverified Commit 39933c26 authored by misuzu's avatar misuzu Committed by GitHub
Browse files

tun2socks: 2.5.2-unstable-2024-02-28 -> 2.6.0 (#417710)

parents 073761de 02ab7d2c
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -6,16 +6,16 @@

buildGoModule rec {
  pname = "tun2socks";
  version = "2.5.2-unstable-2024-02-28";
  version = "2.6.0";

  src = fetchFromGitHub {
    owner = "xjasonlyu";
    repo = "tun2socks";
    rev = "8c7c9085c21d8be8d18bf79ff547e1f2225842a9";
    hash = "sha256-LdiCVp6w5yGbFnbArUcjPIwbqFk3zgbbZO1rQNW4w0M=";
    tag = "v${version}";
    hash = "sha256-ec4M107BE6MCnW/uz9S83JYJtY9tsQQXDFL98h951DA=";
  };

  vendorHash = "sha256-7x3vVRFFxWhwwelPJ2EV78UTSXIo6bMj3ljVIPTPteg=";
  vendorHash = "sha256-YAAdyV2p/Ci9RzgVWYXBwR/ctERSQ8SPK7AbwRuUJiI=";

  ldflags = [
    "-w"
@@ -24,11 +24,11 @@ buildGoModule rec {
    "-X github.com/xjasonlyu/tun2socks/v2/internal/version.GitCommit=v${version}"
  ];

  meta = with lib; {
  meta = {
    homepage = "https://github.com/xjasonlyu/tun2socks";
    description = "tun2socks - powered by gVisor TCP/IP stack";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ nickcao ];
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ nickcao ];
    mainProgram = "tun2socks";
  };
}