google-cloud-sdk: remove from python-modules

It is not a python module just an application using/based on python.
This commit is contained in:
Andreas Rammhold 2019-09-09 15:36:26 +02:00
parent 4fdbdcede0
commit e023b3b1d9
No known key found for this signature in database
GPG key ID: E432E410B5E48C86
3 changed files with 9 additions and 10 deletions

View file

@ -7,13 +7,15 @@
# 3) used by `google-cloud-sdk` only on GCE guests
#
{ stdenv, lib, fetchurl, makeWrapper, python, cffi, cryptography, pyopenssl,
crcmod, google-compute-engine, with-gce ? false }:
{ stdenv, lib, fetchurl, makeWrapper, python, with-gce ? false }:
let
pythonInputs = [ cffi cryptography pyopenssl crcmod ]
++ lib.optional (with-gce) google-compute-engine;
pythonEnv = python.withPackages (_: pythonInputs);
pythonEnv = python.withPackages (p: with p; [
cffi
cryptography
pyopenssl
crcmod
] ++ lib.optional (with-gce) google-compute-engine);
baseUrl = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads";
sources = name: system: {

View file

@ -3505,8 +3505,8 @@ in
google-authenticator = callPackage ../os-specific/linux/google-authenticator { };
google-cloud-sdk = python2.pkgs.google-cloud-sdk;
google-cloud-sdk-gce = python2.pkgs.google-cloud-sdk-gce;
google-cloud-sdk = callPackage ../tools/admin/google-cloud-sdk { };
google-cloud-sdk-gce = google-cloud-sdk.override { with-gce = true; };
google-fonts = callPackage ../data/fonts/google-fonts { };

View file

@ -2376,9 +2376,6 @@ in {
python-gitlab = callPackage ../development/python-modules/python-gitlab { };
google-cloud-sdk = callPackage ../tools/admin/google-cloud-sdk { };
google-cloud-sdk-gce = callPackage ../tools/admin/google-cloud-sdk { with-gce=true; };
google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };
google-music = callPackage ../development/python-modules/google-music { };