shadowsocks-rust: 1.10.7 -> 1.11.2

This commit is contained in:
Timur Demin 2021-11-01 10:18:57 +05:00
parent 509d236edf
commit 63b7bb7fbe
No known key found for this signature in database
GPG Key ID: 9EDF3F9D9286FA20

View File

@ -2,28 +2,36 @@
rustPlatform.buildRustPackage rec {
pname = "shadowsocks-rust";
version = "1.10.7";
version = "1.11.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "shadowsocks";
repo = pname;
sha256 = "08k5j469750bhlq49qc5nwc2jjgmy9qsm58nf2jfwhxlpflv12sc";
sha256 = "0ry3zfwxs5j243jpbp5ymnz14ycyk6gpgb50lcazhn1yy52p8wac";
};
cargoSha256 = "1r8w5cdygd26m95q9qpqa85aixx25jr510hpjlllbpfvm7zjpbqk";
cargoSha256 = "1hvrp3zf5h33j6fgqyzn2jvjbyi8c8pyqwrj5wg3lw38h0z5rvaj";
RUSTC_BOOTSTRAP = 1;
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
checkFlags = [ "--skip=http_proxy" "--skip=udp_tunnel" ];
# all of these rely on connecting to www.example.com:80
checkFlags = [
"--skip=http_proxy"
"--skip=tcp_tunnel"
"--skip=udp_tunnel"
"--skip=udp_relay"
"--skip=socks4_relay_connect"
"--skip=socks5_relay_aead"
"--skip=socks5_relay_stream"
];
meta = with lib; {
homepage = "https://github.com/shadowsocks/shadowsocks-rust";
description = "A Rust port of shadowsocks";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
broken = stdenv.isAarch64; # crypto2 crate doesn't build on aarch64
};
}