Merge pull request #206876 from r-ryantm/auto-update/shadowsocks-rust

shadowsocks-rust: 1.14.3 -> 1.15.1

authored by Mario Rodas and committed by GitHub bb6bb541 7b71a86c

+10 -11
+9 -10
pkgs/tools/networking/shadowsocks-rust/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, CoreServices, libiconv }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, Security, CoreServices }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "shadowsocks-rust"; 5 - version = "1.14.3"; 5 + version = "1.15.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 rev = "v${version}"; 9 9 owner = "shadowsocks"; 10 10 repo = pname; 11 - sha256 = "sha256-tRiziyCw1Qpm22RtZHeKt4VFReJidFHsPxPSjxIA3hA="; 11 + hash = "sha256-CvAOvtC5U2njQuUjFxjnGeqhuxrCw4XI6goo1TxIhIU="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-snnzNb1yJ8L5pMvNNEIf5hZOpFV6DKOWGtGP1T3YTWg="; 14 + cargoHash = "sha256-ctZlYo82M7GKVvrEkw/7+aH9R0MeEsyv3IKl9k4SbiA="; 15 15 16 - RUSTC_BOOTSTRAP = 1; 16 + nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; 17 17 18 - nativeBuildInputs = [ pkg-config ]; 19 - 20 - buildInputs = [ openssl ] 21 - ++ lib.optionals stdenv.isDarwin [ CoreServices libiconv ]; 18 + buildInputs = lib.optionals stdenv.isLinux [ openssl ] 19 + ++ lib.optionals stdenv.isDarwin [ Security CoreServices ]; 22 20 23 21 cargoBuildFlags = [ 24 22 "--features=aead-cipher-extra,local-dns,local-http-native-tls,local-redir,local-tun" ··· 36 34 ]; 37 35 38 36 meta = with lib; { 37 + description = "A Rust port of Shadowsocks"; 39 38 homepage = "https://github.com/shadowsocks/shadowsocks-rust"; 40 - description = "A Rust port of shadowsocks"; 39 + changelog = "https://github.com/shadowsocks/shadowsocks-rust/raw/v${version}/debian/changelog"; 41 40 license = licenses.mit; 42 41 maintainers = [ maintainers.marsam ]; 43 42 };
+1 -1
pkgs/top-level/all-packages.nix
··· 11596 11596 shabnam-fonts = callPackage ../data/fonts/shabnam-fonts { }; 11597 11597 11598 11598 shadowsocks-rust = callPackage ../tools/networking/shadowsocks-rust { 11599 - inherit (darwin.apple_sdk.frameworks) CoreServices; 11599 + inherit (darwin.apple_sdk.frameworks) Security CoreServices; 11600 11600 }; 11601 11601 11602 11602 shadowsocks-v2ray-plugin = callPackage ../tools/networking/shadowsocks-v2ray-plugin { };