2021-09-16 21:44:46 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-03-05 22:31:01 +00:00
|
|
|
|
2021-09-16 21:44:46 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "cloud-sql-proxy";
|
2021-10-29 08:37:17 +01:00
|
|
|
version = "1.26.0";
|
2018-03-05 22:31:01 +00:00
|
|
|
|
2021-09-16 21:44:46 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "GoogleCloudPlatform";
|
|
|
|
repo = "cloudsql-proxy";
|
|
|
|
rev = "v${version}";
|
2021-10-29 08:37:17 +01:00
|
|
|
sha256 = "sha256-Xgz8ku6szzbgL3cyiggHJYaj4aUhaqgIOUnwKUE1AeY=";
|
2018-03-05 22:31:01 +00:00
|
|
|
};
|
|
|
|
|
2021-09-16 21:44:46 +01:00
|
|
|
subPackages = [ "cmd/cloud_sql_proxy" ];
|
2018-03-05 22:31:01 +00:00
|
|
|
|
2021-10-29 08:37:17 +01:00
|
|
|
vendorSha256 = "sha256-7KiLJoQ0xH35ae4NGODF4t1S9h86L0TJbCqFVm+bBmk=";
|
2018-03-05 22:31:01 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-05 22:31:01 +00:00
|
|
|
description = "An authenticating proxy for Second Generation Google Cloud SQL databases";
|
2021-09-16 21:44:46 +01:00
|
|
|
homepage = "https://github.com/GoogleCloudPlatform/cloudsql-proxy";
|
2018-03-05 22:31:01 +00:00
|
|
|
license = licenses.asl20;
|
2021-09-16 21:44:46 +01:00
|
|
|
maintainers = with maintainers; [ nicknovitski ];
|
2018-03-05 22:31:01 +00:00
|
|
|
};
|
|
|
|
}
|