Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 22.05 27 lines 765 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "cloud-sql-proxy"; 5 version = "1.30.0"; 6 7 src = fetchFromGitHub { 8 owner = "GoogleCloudPlatform"; 9 repo = "cloudsql-proxy"; 10 rev = "v${version}"; 11 sha256 = "sha256-EbUIzAKMqCLsz8rBMWCvw00j6VX2ZYEMtNsMEx30kBU="; 12 }; 13 14 subPackages = [ "cmd/cloud_sql_proxy" ]; 15 16 vendorSha256 = "sha256-yxqLGDqdu9vX3ykHq7Kzf8oBH1ydltZkiWNWWM2l0Aw="; 17 18 checkFlags = [ "-short" ]; 19 20 meta = with lib; { 21 description = "An authenticating proxy for Second Generation Google Cloud SQL databases"; 22 homepage = "https://github.com/GoogleCloudPlatform/cloudsql-proxy"; 23 license = licenses.asl20; 24 maintainers = with maintainers; [ nicknovitski ]; 25 mainProgram = "cloud_sql_proxy"; 26 }; 27}