Mario Rodas 2023-08-27 04:20:00 +00:00
parent af32e3f251
commit 8ec60030f3

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "shadowsocks-rust"; pname = "shadowsocks-rust";
version = "1.15.4"; version = "1.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "shadowsocks"; owner = "shadowsocks";
repo = pname; repo = pname;
hash = "sha256-Tdh6lGk93hGuR+L2cytVoKYfRHrmuNo9OtKqQaeCMx0="; hash = "sha256-kJqJpYjgN49qV/JLfUfmd/f9UjhiM1HOwSONELl2bOk=";
}; };
cargoHash = "sha256-dtHr+zsjpQe+iNwlj0sRxZRsgl1nxflXhhV1fTMCiFY="; cargoHash = "sha256-HzvNcESNalZp7+k9WH+ohARq0na8Q4NUctqrCOu6gwI=";
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
@ -35,13 +35,18 @@ rustPlatform.buildRustPackage rec {
checkFlags = [ checkFlags = [
"--skip=http_proxy" "--skip=http_proxy"
"--skip=tcp_tunnel" "--skip=tcp_tunnel"
"--skip=tcprelay"
"--skip=udp_tunnel" "--skip=udp_tunnel"
"--skip=udp_relay" "--skip=udp_relay"
"--skip=socks4_relay_connect" "--skip=socks4_relay_connect"
"--skip=socks5_relay_aead" "--skip=socks5_relay_aead"
"--skip=socks5_relay_stream" "--skip=socks5_relay_stream"
"--skip=trust_dns_resolver"
]; ];
# timeouts in sandbox
doCheck = false;
meta = with lib; { meta = with lib; {
description = "A Rust port of Shadowsocks"; description = "A Rust port of Shadowsocks";
homepage = "https://github.com/shadowsocks/shadowsocks-rust"; homepage = "https://github.com/shadowsocks/shadowsocks-rust";