nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8buildGoModule rec {
9 pname = "google-alloydb-auth-proxy";
10 version = "1.13.3";
11
12 src = fetchFromGitHub {
13 owner = "GoogleCloudPlatform";
14 repo = "alloydb-auth-proxy";
15 tag = "v${version}";
16 hash = "sha256-NqsIx3+dlDY/WPZJloezZDdFrs/IQ3aqcTKYBD9k3Hk=";
17 };
18
19 subPackages = [ "." ];
20
21 vendorHash = "sha256-aRnrn9D561OMlfMQiPwTSUyflozU5D/zzApoITiAH7E=";
22
23 checkFlags = [
24 "-short"
25 ];
26
27 passthru.updateScript = nix-update-script { };
28
29 meta = {
30 description = "Utility for connecting securely to your AlloyDB instances";
31 longDescription = ''
32 The AlloyDB Auth Proxy is a binary that provides IAM-based authorization and encryption when connecting to an AlloyDB instance.
33
34 See the Connecting Overview page for more information on connecting to an AlloyDB instance, or the About the proxy page for details on how the AlloyDB Auth Proxy works.
35 '';
36 homepage = "https://github.com/GoogleCloudPlatform/alloydb-auth-proxy";
37 changelog = "https://github.com/GoogleCloudPlatform/alloydb-auth-proxy/releases/tag/v${version}";
38 license = lib.licenses.asl20;
39 maintainers = with lib.maintainers; [ ShawnToubeau ];
40 mainProgram = "alloydb-auth-proxy";
41 };
42}