git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #15433 from zimbatm/google-gloud-sdk-109

google-cloud-sdk: 106.0.0 -> 109.0.0

commit488de719218cca01506a818ad8fee6fe875f4398 authorJoachim Fasting <joachifm@users.noreply.github.com> dateWed 18 May 2016, 19:09 (11 years ago) parent10348ec0208e92
1 file changed+17−10
pkgs/tools/admin/google-cloud-sdk/default.nix+17−10
pkgs/tools/admin/google-cloud-sdk/default.nix+17−10
@@ -3,13 +3,20 @@
33with python27Packages;
44
55stdenv.mkDerivation rec {
6− version = "106.0.0";
76 name = "google-cloud-sdk-${version}";
8−
9− src = fetchurl {
10− url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-106.0.0-linux-x86_64.tar.gz";
11− sha256 = "00jhpx32sfxcgl404plmb8122bs0ijl2rv25h17mnjn067nhz7nn";
12− };
7+ version = "109.0.0";
8+
9+ src =
10+ if stdenv.system == "i686-linux" then
11+ fetchurl {
12+ url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86.tar.gz";
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";
19+ };
1320
1421 buildInputs = [python27 makeWrapper];
1522
@@ -40,14 +47,14 @@ stdenv.mkDerivation rec {
4047 rm -r $out/google-cloud-sdk/platform/gsutil/third_party/crcmod
4148 '';
4249
43− meta = {
50+ meta = with stdenv.lib; {
4451 description = "Tools for the google cloud platform";
4552 longDescription = "The Google Cloud SDK. This package has the programs: gcloud, gsutil, and bq";
4653 version = version;
4754 # This package contains vendored dependencies. All have free licenses.
48− license = stdenv.lib.licenses.free;
55+ license = licenses.free;
4956 homepage = "https://cloud.google.com/sdk/";
50− maintainers = with stdenv.lib.maintainers; [stephenmw];
51− platforms = stdenv.lib.platforms.all;
57+ maintainers = with maintainers; [stephenmw zimbatm];
58+ platforms = platforms.linux;
5259 };
5360}