diff options
author | Mrinal Purohit <github@mrinalpurohit.in> | 2021-10-27 10:40:06 +0530 |
---|---|---|
committer | Mrinal Purohit <github@mrinalpurohit.in> | 2021-10-27 11:15:08 +0530 |
commit | 6bc1c211491ad8e1c970c3118b8ea65375757bea (patch) | |
tree | f81fca050a8a6d54d7a1a907808074e22b579620 /pkgs/tools/admin/google-cloud-sdk | |
parent | 4508ffac3ad3afe58d4c067db865edffa62fe43d (diff) | |
download | nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.tar nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.tar.gz nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.tar.bz2 nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.tar.lz nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.tar.xz nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.tar.zst nixpkgs-6bc1c211491ad8e1c970c3118b8ea65375757bea.zip |
nixos/tests: add google-cloud-sdk
Diffstat (limited to 'pkgs/tools/admin/google-cloud-sdk')
-rw-r--r-- | pkgs/tools/admin/google-cloud-sdk/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/admin/google-cloud-sdk/default.nix b/pkgs/tools/admin/google-cloud-sdk/default.nix index 4949d68de7c..af33f1b9119 100644 --- a/pkgs/tools/admin/google-cloud-sdk/default.nix +++ b/pkgs/tools/admin/google-cloud-sdk/default.nix @@ -7,7 +7,7 @@ # 3) used by `google-cloud-sdk` only on GCE guests # -{ stdenv, lib, fetchurl, makeWrapper, python, openssl, jq, with-gce ? false }: +{ stdenv, lib, fetchurl, makeWrapper, nixosTests, python, openssl, jq, with-gce ? false }: let pythonEnv = python.withPackages (p: with p; [ @@ -117,6 +117,10 @@ in stdenv.mkDerivation rec { runHook postInstall ''; + passthru = { + tests = { inherit (nixosTests) google-cloud-sdk; }; + }; + meta = with lib; { description = "Tools for the google cloud platform"; longDescription = "The Google Cloud SDK. This package has the programs: gcloud, gsutil, and bq"; |