shadowsocks-rust: 1.8.23 -> 1.9.0

https://github.com/shadowsocks/shadowsocks-rust/releases/tag/v1.9.0
This commit is contained in:
Mario Rodas 2021-02-23 04:20:00 +00:00
parent e9df702a31
commit bbed03f446
2 changed files with 9 additions and 9 deletions

View File

@ -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";

View File

@ -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 { };