81047829ea
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
27 lines
765 B
Nix
27 lines
765 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "cloud-sql-proxy";
|
|
version = "1.28.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "GoogleCloudPlatform";
|
|
repo = "cloudsql-proxy";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-XA74rZ477Mwf8u0KLkFngfwiJexS10vh++ST6VtkcVg=";
|
|
};
|
|
|
|
subPackages = [ "cmd/cloud_sql_proxy" ];
|
|
|
|
vendorSha256 = "sha256-ZXWhADfzvHcEW3IZlPyau5nHEXBJRH8aTvb3zCKl/LE=";
|
|
|
|
checkFlags = [ "-short" ];
|
|
|
|
meta = with lib; {
|
|
description = "An authenticating proxy for Second Generation Google Cloud SQL databases";
|
|
homepage = "https://github.com/GoogleCloudPlatform/cloudsql-proxy";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ nicknovitski ];
|
|
mainProgram = "cloud_sql_proxy";
|
|
};
|
|
}
|