1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "cloud-sql-proxy";
7 src = fetchFromGitHub {
8 owner = "GoogleCloudPlatform";
9 repo = "cloudsql-proxy";
11 sha256 = "sha256-wlMwl1S9WKtCoruKhMVK1197/3/OWhvvXTT1tH/yPlI=";
14 subPackages = [ "cmd/cloud_sql_proxy" ];
16 vendorSha256 = "sha256-OMvu0LCYv0Z03ZM2o8UZx/Su2rdvTJp5DUZa8/MtQSc=";
19 buildFlagsArray+="-short"
23 description = "An authenticating proxy for Second Generation Google Cloud SQL databases";
24 homepage = "https://github.com/GoogleCloudPlatform/cloudsql-proxy";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ nicknovitski ];
27 mainProgram = "cloud_sql_proxy";