From eb3e05dc8c6c76978f05f80183477c2de22621ba Mon Sep 17 00:00:00 2001 From: oluceps Date: Mon, 25 Dec 2023 00:13:09 +0800 Subject: [PATCH] phantomsocks: unstable-2023-04-05 -> unstable-2023-11-30 Diff: https://github.com/macronut/phantomsocks/compare/a54ae9f3611e8623f89e69273f2ded7f7c0a7abf...b1b13c5b88cf3bac54f39c37c0ffcb0b46e31049 --- pkgs/tools/networking/phantomsocks/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/networking/phantomsocks/default.nix b/pkgs/tools/networking/phantomsocks/default.nix index 6f3c3ad9a336..7c7b0db21132 100644 --- a/pkgs/tools/networking/phantomsocks/default.nix +++ b/pkgs/tools/networking/phantomsocks/default.nix @@ -3,26 +3,27 @@ , fetchFromGitHub , stdenv , libpcap -# Cann't be build with both pcap and rawsocket tags + # Cann't be build with both pcap and rawsocket tags , withPcap ? (!stdenv.isLinux && !withRawsocket) , withRawsocket ? (stdenv.isLinux && !withPcap) }: buildGoModule rec { pname = "phantomsocks"; - version = "unstable-2023-04-05"; + version = "unstable-2023-11-30"; src = fetchFromGitHub { owner = "macronut"; repo = pname; - rev = "a54ae9f3611e8623f89e69273f2ded7f7c0a7abf"; - hash = "sha256-ytTLwKlwbaiSWDRZBkOV7Hrl5ywWzLbv/fJ7nVlD++E="; + rev = "b1b13c5b88cf3bac54f39c37c0ffcb0b46e31049"; + hash = "sha256-ptCzd2/8dNHjAkhwA2xpZH8Ki/9DnblHI2gAIpgM+8E="; }; - vendorHash = "sha256-c0NQfZuMMWz1ASwFBcpMNjxZwXLo++gMYBiNgvT8ZLQ="; + vendorHash = "sha256-0MJlz7HAhRThn8O42yhvU3p5HgTG8AkPM0ksSjWYAC4="; ldflags = [ - "-s" "-w" + "-s" + "-w" ]; buildInputs = lib.optional withPcap libpcap; tags = lib.optional withPcap "pcap"