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 callPackage, 19 installShellFiles, 20 with-gce ? false, 21 }: 22 23 let ··· 47 cryptography 48 pyopenssl 49 crcmod 50 - numpy 51 grpcio 52 ] 53 ++ lib.optional (with-gce) google-compute-engine 54 ); 55 56 data = import ./data.nix { };
··· 18 callPackage, 19 installShellFiles, 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, 24 }: 25 26 let ··· 50 cryptography 51 pyopenssl 52 crcmod 53 grpcio 54 ] 55 ++ lib.optional (with-gce) google-compute-engine 56 + ++ lib.optional (with-numpy) numpy 57 ); 58 59 data = import ./data.nix { };