Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

48 lines
1.4 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "google-cloud-sql-proxy";
version = "2.18.2";
src = fetchFromGitHub {
owner = "GoogleCloudPlatform";
repo = "cloud-sql-proxy";
rev = "v${version}";
hash = "sha256-c37/364fAm4FR3TQ55zKRUVWr2rr7SZUMRlTJKEIc8c=";
};
subPackages = [ "." ];
vendorHash = "sha256-nrrf7+6uaKHvrJg8mrqjbyJxDjZhO4KKPd9+nIX+8A0=";
checkFlags = [
"-short"
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Utility for ensuring secure connections to Google Cloud SQL instances";
longDescription = ''
The Cloud SQL Auth Proxy is a utility for ensuring secure connections to your Cloud SQL instances.
It provides IAM authorization, allowing you to control who can connect to your instance through IAM permissions,
and TLS 1.3 encryption, without having to manage certificates.
See the [Connecting Overview](https://cloud.google.com/sql/docs/mysql/connect-overview) page for more information
on connecting to a Cloud SQL instance, or the [About the Proxy](https://cloud.google.com/sql/docs/mysql/sql-proxy)
page for details on how the Cloud SQL Proxy works.
'';
homepage = "https://github.com/GoogleCloudPlatform/cloud-sql-proxy";
license = licenses.asl20;
maintainers = with maintainers; [
nicknovitski
totoroot
];
mainProgram = "cloud-sql-proxy";
};
}