Merge pull request #57597 from jD91mZM2/cargo-tree

cargo-tree: v0.22.0 -> v0.25.0
This commit is contained in:
Vladyslav M 2019-03-13 22:57:21 +02:00 committed by GitHub
commit c21ca7b704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,17 @@
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, cmake, curl, libiconv, darwin }: { stdenv, lib, rustPlatform, fetchFromGitHub, pkgconfig, cmake, curl, libiconv, darwin }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "cargo-tree-${version}"; name = "cargo-tree-${version}";
version = "0.22.0"; version = "0.25.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sfackler"; owner = "sfackler";
repo = "cargo-tree"; repo = "cargo-tree";
rev = "v${version}"; rev = "v${version}";
sha256 = "1knxykw1pbqxs4inijd3y797kf1zp4ansmnbwfqxyjlkgss0spdq"; sha256 = "1pnq2gphdv0rkc317rnkdx2qv0cd7p3k4v5f0ys5rya2akkxx4wn";
}; };
cargoSha256 = "0w1psr7j5r8ng3njkjiva738czlhnf9drprisbc8szkfhzc3rgaw"; cargoSha256 = "0y6swl5ngkd489g53c100gyjl1sp8vidl8j6zfcasw5lbkli3acs";
nativeBuildInputs = [ pkgconfig cmake ]; nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ curl ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ]; buildInputs = [ curl ] ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];