Merge pull request #114308 from marsam/update-shadowsocks-rust
shadowsocks-rust: 1.8.23 -> 1.9.0
This commit is contained in:
commit
8d22e56b69
@ -1,23 +1,23 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, libsodium, Security }:
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "shadowsocks-rust";
|
||||
version = "1.8.23";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "shadowsocks";
|
||||
repo = pname;
|
||||
sha256 = "1ylasv33478cgwmr8wrd4705azfzrw495w629ncynamv7z17w3k3";
|
||||
sha256 = "1lxx9xzkv3y2qjffa5dmwv0ygka71dx3c2995ggcgy5fb19yrghc";
|
||||
};
|
||||
|
||||
cargoSha256 = "060k2dil38bx4zb5nnkr3mj6aayginbhr3aqjv0h071q0vlvp05p";
|
||||
cargoSha256 = "0p93dv4nlwl5167dmp160l09wqba5d40gaiwc6vbzb4iqdicgwls";
|
||||
|
||||
SODIUM_USE_PKG_CONFIG = 1;
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
buildInputs = [ openssl libsodium ]
|
||||
++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
checkFlags = [ "--skip=http_proxy" "--skip=udp_tunnel" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/shadowsocks/shadowsocks-rust";
|
||||
|
@ -7867,7 +7867,7 @@ in
|
||||
shabnam-fonts = callPackage ../data/fonts/shabnam-fonts { };
|
||||
|
||||
shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
shadowsocks-v2ray-plugin = callPackage ../tools/networking/shadowsocks-v2ray-plugin { };
|
||||
|
Loading…
Reference in New Issue
Block a user