Merge pull request #261259 from totoroot/google-cloud-bigtable-tool-0.12.0

authored by Janik and committed by GitHub bb6be0ba ed99fa27

+83 -34
+2
nixos/doc/manual/release-notes/rl-2311.section.md
··· 273 - Package `noto-fonts-emoji` was renamed to `noto-fonts-color-emoji`; 274 see [#221181](https://github.com/NixOS/nixpkgs/issues/221181). 275 276 - Package `pash` was removed due to being archived upstream. Use `powershell` as an alternative. 277 278 - `security.sudo.extraRules` now includes `root`'s default rule, with ordering
··· 273 - Package `noto-fonts-emoji` was renamed to `noto-fonts-color-emoji`; 274 see [#221181](https://github.com/NixOS/nixpkgs/issues/221181). 275 276 + - Package `cloud-sql-proxy` was renamed to `google-cloud-sql-proxy` as it cannot be used with other cloud providers.; 277 + 278 - Package `pash` was removed due to being archived upstream. Use `powershell` as an alternative. 279 280 - `security.sudo.extraRules` now includes `root`'s default rule, with ordering
-32
pkgs/tools/misc/cloud-sql-proxy/default.nix
··· 1 - { lib 2 - , buildGoModule 3 - , fetchFromGitHub 4 - }: 5 - 6 - buildGoModule rec { 7 - pname = "cloud-sql-proxy"; 8 - version = "2.7.0"; 9 - 10 - src = fetchFromGitHub { 11 - owner = "GoogleCloudPlatform"; 12 - repo = "cloud-sql-proxy"; 13 - rev = "v${version}"; 14 - hash = "sha256-4PB9Eaqb8teF+gmiHD2VAIFnxqiK2Nb0u+xSNAM8iMs="; 15 - }; 16 - 17 - subPackages = [ "." ]; 18 - 19 - vendorHash = "sha256-LaI7IdSyB7ETTjqIcIPDf3noEbvwlN3+KqrkSm8B6m8="; 20 - 21 - preCheck = '' 22 - buildFlagsArray+="-short" 23 - ''; 24 - 25 - meta = with lib; { 26 - description = "Utility for ensuring secure connections to Google Cloud SQL instances"; 27 - homepage = "https://github.com/GoogleCloudPlatform/cloud-sql-proxy"; 28 - license = licenses.asl20; 29 - maintainers = with maintainers; [ nicknovitski totoroot ]; 30 - mainProgram = "cloud-sql-proxy"; 31 - }; 32 - }
···
+37
pkgs/tools/misc/google-cloud-bigtable-tool/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "google-cloud-bigtable-tool"; 8 + version = "0.12.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "googleapis"; 12 + repo = "cloud-bigtable-cbt-cli"; 13 + rev = "v.${version}"; 14 + hash = "sha256-N5nbWMj7kLIdRiwBUWFz4Rat88Wx01i3hceMxAvSjaA="; 15 + }; 16 + 17 + vendorHash = "sha256-kwvEfvHs6XF84bB3Ss1307OjId0nh/0Imih1fRFdY0M="; 18 + 19 + preCheck = '' 20 + buildFlagsArray+="-short" 21 + ''; 22 + 23 + meta = with lib; { 24 + description = "Google Cloud Bigtable Tool"; 25 + longDescription = '' 26 + `cbt` is the Google Cloud Bigtable Tool. A CLI utility to interact with Google Cloud Bigtable. 27 + The cbt CLI is a command-line interface for performing several different operations on Cloud Bigtable. 28 + It is written in Go using the Go client library for Cloud Bigtable. 29 + An overview of its usage can be found in the [Google Cloud docs](https://cloud.google.com/bigtable/docs/cbt-overview). 30 + For information about Bigtable in general, see the [overview of Bigtable](https://cloud.google.com/bigtable/docs/overview). 31 + ''; 32 + homepage = "https://github.com/googleapis/cloud-bigtable-cbt-cli"; 33 + license = licenses.asl20; 34 + maintainers = with maintainers; [ totoroot ]; 35 + mainProgram = "cbt"; 36 + }; 37 + }
+40
pkgs/tools/misc/google-cloud-sql-proxy/default.nix
···
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "google-cloud-sql-proxy"; 8 + version = "2.7.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "GoogleCloudPlatform"; 12 + repo = "cloud-sql-proxy"; 13 + rev = "v${version}"; 14 + hash = "sha256-4PB9Eaqb8teF+gmiHD2VAIFnxqiK2Nb0u+xSNAM8iMs="; 15 + }; 16 + 17 + subPackages = [ "." ]; 18 + 19 + vendorHash = "sha256-LaI7IdSyB7ETTjqIcIPDf3noEbvwlN3+KqrkSm8B6m8="; 20 + 21 + preCheck = '' 22 + buildFlagsArray+="-short" 23 + ''; 24 + 25 + meta = with lib; { 26 + description = "Utility for ensuring secure connections to Google Cloud SQL instances"; 27 + longDescription = '' 28 + The Cloud SQL Auth Proxy is a utility for ensuring secure connections to your Cloud SQL instances. 29 + It provides IAM authorization, allowing you to control who can connect to your instance through IAM permissions, 30 + and TLS 1.3 encryption, without having to manage certificates. 31 + See the [Connecting Overview](https://cloud.google.com/sql/docs/mysql/connect-overview) page for more information 32 + on connecting to a Cloud SQL instance, or the [About the Proxy](https://cloud.google.com/sql/docs/mysql/sql-proxy) 33 + page for details on how the Cloud SQL Proxy works. 34 + ''; 35 + homepage = "https://github.com/GoogleCloudPlatform/cloud-sql-proxy"; 36 + license = licenses.asl20; 37 + maintainers = with maintainers; [ nicknovitski totoroot ]; 38 + mainProgram = "cloud-sql-proxy"; 39 + }; 40 + }
+4 -2
pkgs/top-level/all-packages.nix
··· 3618 3619 clairvoyance = callPackage ../tools/security/clairvoyance { }; 3620 3621 - cloud-sql-proxy = callPackage ../tools/misc/cloud-sql-proxy { }; 3622 - 3623 cloudfox = callPackage ../tools/security/cloudfox { }; 3624 3625 cloudhunter = callPackage ../tools/security/cloudhunter { }; ··· 8754 python = python3; 8755 with-gce = true; 8756 }; 8757 8758 google-fonts = callPackage ../data/fonts/google-fonts { }; 8759
··· 3618 3619 clairvoyance = callPackage ../tools/security/clairvoyance { }; 3620 3621 cloudfox = callPackage ../tools/security/cloudfox { }; 3622 3623 cloudhunter = callPackage ../tools/security/cloudhunter { }; ··· 8752 python = python3; 8753 with-gce = true; 8754 }; 8755 + 8756 + google-cloud-bigtable-tool = callPackage ../tools/misc/google-cloud-bigtable-tool { }; 8757 + 8758 + google-cloud-sql-proxy = callPackage ../tools/misc/google-cloud-sql-proxy { }; 8759 8760 google-fonts = callPackage ../data/fonts/google-fonts { }; 8761