620eecebfb
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
13 lines
416 B
Nix
13 lines
416 B
Nix
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "google-cloud-sdk";
|
|
meta = with pkgs.lib.maintainers; { maintainers = [ iammrinal0 ]; };
|
|
|
|
machine = { pkgs, ... }: {
|
|
environment.systemPackages = [ pkgs.google-cloud-sdk ];
|
|
};
|
|
|
|
testScript = ''
|
|
import json
|
|
assert "${pkgs.google-cloud-sdk.version}" in json.loads(machine.succeed("gcloud version --format json"))["Google Cloud SDK"]
|
|
'';
|
|
})
|