google-cloud-sdk: 286.0.0 -> 297.0.1 (#91202)

This commit is contained in:
Pradyuman Vig 2020-06-21 04:00:53 -05:00 committed by GitHub
parent c27fc6a5e5
commit ab844b28e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,20 +21,18 @@ let
sources = name: system: {
x86_64-darwin = {
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
sha256 = "0v83faz0jwnx603acmkc3bsl7vg2xxsm1jfw88fmnj6zcsa5b9ql";
sha256 = "0imsshvdwd2isq58kplc27za30nabp62ypf1hq95aq94pjm2zp39";
};
x86_64-linux = {
url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
sha256 = "1z9liqzgwfavh3m3q1s871gxnwnsxdbny2vqzh9sjlwdk26f76gi";
sha256 = "1905rj36md5iszbxw78ylvkljr4d54i50x23r1r6k1xw7i93yfwq";
};
}.${system};
strip = if stdenv.isDarwin then "strip -x" else "strip";
in stdenv.mkDerivation rec {
pname = "google-cloud-sdk";
version = "286.0.0";
version = "297.0.1";
src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system);
@ -93,9 +91,6 @@ in stdenv.mkDerivation rec {
jq -c . $path > $path.min
mv $path.min $path
done
# strip the Cython gRPC library
${strip} $out/google-cloud-sdk/lib/third_party/grpc/_cython/cygrpc.so
'';
meta = with stdenv.lib; {