google-cloud-sdk: make NumPy optional

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

The closure size is 2.05 GiB, of which 1.66 GiB is NumPy

+4 -1
+4 -1
pkgs/by-name/go/google-cloud-sdk/package.nix
··· 18 18 callPackage, 19 19 installShellFiles, 20 20 with-gce ? false, 21 + # NumPy is an optional runtime dependency and only needed for IAP TCP forwarding 22 + # https://cloud.google.com/iap/docs/using-tcp-forwarding#increasing_the_tcp_upload_bandwidth 23 + with-numpy ? true, 21 24 }: 22 25 23 26 let ··· 47 50 cryptography 48 51 pyopenssl 49 52 crcmod 50 - numpy 51 53 grpcio 52 54 ] 53 55 ++ lib.optional (with-gce) google-compute-engine 56 + ++ lib.optional (with-numpy) numpy 54 57 ); 55 58 56 59 data = import ./data.nix { };