1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/tools/misc/cloud-sql-proxy/default.nix

25 lines
700 B
Nix
Raw Normal View History

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 {
pname = "cloud-sql-proxy";
2021-09-16 21:44:46 +01:00
version = "1.25.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}";
sha256 = "0vz5fm1bgh2g7b320hchpfb4iql1src1rpm7324sqcd26p7w3mnl";
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-09-16 21:44:46 +01:00
vendorSha256 = "04y6zx3jdyj07d68a4vk4p5rzvvjnvdwk9kkipmlmqg1xqwlb84m";
2018-03-05 22:31:01 +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
};
}