Unverified Commit 5c47b732 authored by Marcus Ramberg's avatar Marcus Ramberg Committed by GitHub
Browse files

google-cloud-sdk: make NumPy optional (#440966)

parents 054a24c6 9878cd45
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -18,6 +18,9 @@
  callPackage,
  installShellFiles,
  with-gce ? false,
  # NumPy is an optional runtime dependency and only needed for IAP TCP forwarding
  # https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth
  with-numpy ? true,
}:

let
@@ -47,10 +50,10 @@ let
      cryptography
      pyopenssl
      crcmod
      numpy
      grpcio
    ]
    ++ lib.optional (with-gce) google-compute-engine
    ++ lib.optional (with-numpy) numpy
  );

  data = import ./data.nix { };