git.iko.soy/typeable/nixpkgs
on master help sign in
google-cloud-sdk: 106.0.0 -> 109.0.0
0208e92zimbatm
pkgs/tools/admin/google-cloud-sdk/default.nix+17−10
@@ -3,13 +3,20 @@
3with python27Packages;
3with python27Packages;
4
4
5stdenv.mkDerivation rec {
5stdenv.mkDerivation rec {
6− version = "106.0.0";
7 name = "google-cloud-sdk-${version}";
6 name = "google-cloud-sdk-${version}";
8−
7+ version = "109.0.0";
8+
9+ src =
10+ if stdenv.system == "i686-linux" then
9− src = fetchurl {
11+ fetchurl {
10− url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-106.0.0-linux-x86_64.tar.gz";
12+ url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86.tar.gz";
11− sha256 = "00jhpx32sfxcgl404plmb8122bs0ijl2rv25h17mnjn067nhz7nn";
13+ sha256 = "0jcg4pzqmkmpcp86rdi9hcqvvm61rqvl8spl2r1n4658w48h61x7";
14+ }
15+ else
16+ fetchurl {
17+ url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86_64.tar.gz";
18+ sha256 = "1ii2ivh2na9933fhqrzsicihs6mpr10jgmml1fkdjmhmmp92zshd";
12− };
19+ };
13
20
14 buildInputs = [python27 makeWrapper];
21 buildInputs = [python27 makeWrapper];
15
22
@@ -40,14 +47,14 @@ stdenv.mkDerivation rec {
40 rm -r $out/google-cloud-sdk/platform/gsutil/third_party/crcmod
47 rm -r $out/google-cloud-sdk/platform/gsutil/third_party/crcmod
41 '';
48 '';
42
49
43− meta = {
50+ meta = with stdenv.lib; {
44 description = "Tools for the google cloud platform";
51 description = "Tools for the google cloud platform";
45 longDescription = "The Google Cloud SDK. This package has the programs: gcloud, gsutil, and bq";
52 longDescription = "The Google Cloud SDK. This package has the programs: gcloud, gsutil, and bq";
46 version = version;
53 version = version;
47 # This package contains vendored dependencies. All have free licenses.
54 # This package contains vendored dependencies. All have free licenses.
48− license = stdenv.lib.licenses.free;
55+ license = licenses.free;
49 homepage = "https://cloud.google.com/sdk/";
56 homepage = "https://cloud.google.com/sdk/";
50− maintainers = with stdenv.lib.maintainers; [stephenmw];
57+ maintainers = with maintainers; [stephenmw zimbatm];
51− platforms = stdenv.lib.platforms.all;
58+ platforms = platforms.linux;
52 };
59 };
53}
60}