Merge pull request #113336 from lovesegfault/google-cloud-sdk-328

google-cloud-sdk: 327.0.0 -> 328.0.0
This commit is contained in:
Bernardo Meurer 2021-02-18 00:22:23 +00:00 committed by GitHub
commit fd2233556f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,24 +21,24 @@ let
sources = name: system: { sources = name: system: {
x86_64-darwin = { x86_64-darwin = {
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz"; url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
sha256 = "135xbaz6q4565mklxjmm4mybm5qayvz34m0bdg609597kxw6l97j"; sha256 = "sha256-aHFwcynt4xQ0T1J+OTSxgttU9W3VFJAqCwmQSdVg8Fk=";
}; };
x86_64-linux = { x86_64-linux = {
url = "${baseUrl}/${name}-linux-x86_64.tar.gz"; url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
sha256 = "1i4cp6kyqbqj0fnmwx11bq6a1k4hrhyxz9qifr1qjfi7n8ybqrqy"; sha256 = "sha256-MfldToK7ZfdWZiZnI1qKI1o/dSiUcysxzUkTYMVZ5u4=";
}; };
}.${system}; }.${system};
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "google-cloud-sdk"; pname = "google-cloud-sdk";
version = "327.0.0"; version = "328.0.0";
src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system); src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system);
buildInputs = [ python makeWrapper ]; buildInputs = [ python ];
nativeBuildInputs = [ jq ]; nativeBuildInputs = [ jq makeWrapper ];
patches = [ patches = [
# For kubectl configs, don't store the absolute path of the `gcloud` binary as it can be garbage-collected # For kubectl configs, don't store the absolute path of the `gcloud` binary as it can be garbage-collected