acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / go / google-cloud-sql-proxy / package.nix
blobc7a4f328fa0d379dce1a4d19108d531f1c8107bb
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , nix-update-script
5 }:
7 buildGoModule rec {
8   pname = "google-cloud-sql-proxy";
9   version = "2.14.0";
11   src = fetchFromGitHub {
12     owner = "GoogleCloudPlatform";
13     repo = "cloud-sql-proxy";
14     rev = "v${version}";
15     hash = "sha256-SM74Z9+oo472BIM/moSj9zyZh2HefkAkqoC4L1tu+X8=";
16   };
18   subPackages = [ "." ];
20   vendorHash = "sha256-Ao/kSC4gcsZpRaSu7FhqJs1ulUbfrzOpO4CMropCywo=";
22   checkFlags = [
23     "-short"
24   ];
26   passthru.updateScript = nix-update-script { };
28   meta = with lib; {
29     description = "Utility for ensuring secure connections to Google Cloud SQL instances";
30     longDescription = ''
31       The Cloud SQL Auth Proxy is a utility for ensuring secure connections to your Cloud SQL instances.
32       It provides IAM authorization, allowing you to control who can connect to your instance through IAM permissions,
33       and TLS 1.3 encryption, without having to manage certificates.
34       See the [Connecting Overview](https://cloud.google.com/sql/docs/mysql/connect-overview) page for more information
35       on connecting to a Cloud SQL instance, or the [About the Proxy](https://cloud.google.com/sql/docs/mysql/sql-proxy)
36       page for details on how the Cloud SQL Proxy works.
37     '';
38     homepage = "https://github.com/GoogleCloudPlatform/cloud-sql-proxy";
39     license = licenses.asl20;
40     maintainers = with maintainers; [ nicknovitski totoroot ];
41     mainProgram = "cloud-sql-proxy";
42   };