diff options
author | Andreas Rammhold <andreas@rammhold.de> | 2019-09-09 15:36:26 +0200 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2019-09-09 15:36:26 +0200 |
commit | e023b3b1d935270699c91f626c1062abd7832ef7 (patch) | |
tree | 119606918c39680998da873a083a7e63ba33aefb /pkgs/tools/admin/google-cloud-sdk | |
parent | 4fdbdcede0af0ab70d94eecb5358225b1a04407f (diff) | |
download | nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.tar nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.tar.gz nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.tar.bz2 nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.tar.lz nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.tar.xz nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.tar.zst nixlib-e023b3b1d935270699c91f626c1062abd7832ef7.zip |
google-cloud-sdk: remove from python-modules
It is not a python module just an application using/based on python.
Diffstat (limited to 'pkgs/tools/admin/google-cloud-sdk')
-rw-r--r-- | pkgs/tools/admin/google-cloud-sdk/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/admin/google-cloud-sdk/default.nix b/pkgs/tools/admin/google-cloud-sdk/default.nix index 5b701600dd14..feb0b996b61c 100644 --- a/pkgs/tools/admin/google-cloud-sdk/default.nix +++ b/pkgs/tools/admin/google-cloud-sdk/default.nix @@ -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: { |