Merge pull request #243947 from totoroot/update/cloud-sql-proxy-2.5.0
This commit is contained in:
commit
6a830314d4
@ -96,6 +96,8 @@
|
||||
|
||||
- `services.outline.sequelizeArguments` has been removed, as `outline` no longer executes database migrations via the `sequelize` cli.
|
||||
|
||||
- The binary of the package `cloud-sql-proxy` has changed from `cloud_sql_proxy` to `cloud-sql-proxy`.
|
||||
|
||||
- The Caddy module gained a new option named `services.caddy.enableReload` which is enabled by default. It allows reloading the service instead of restarting it, if only a config file has changed. This option must be disabled if you have turned off the [Caddy admin API](https://caddyserver.com/docs/caddyfile/options#admin). If you keep this option enabled, you should consider setting [`grace_period`](https://caddyserver.com/docs/caddyfile/options#grace-period) to a non-infinite value to prevent Caddy from delaying the reload indefinitely.
|
||||
|
||||
- mdraid support is now optional. This reduces initramfs size and prevents the potentially undesired automatic detection and activation of software RAID pools. It is disabled by default in new configurations (determined by `stateVersion`), but the appropriate settings will be generated by `nixos-generate-config` when installing to a software RAID device, so the standard installation procedure should be unaffected. If you have custom configs relying on mdraid, ensure that you use `stateVersion` correctly or set `boot.swraid.enable` manually.
|
||||
|
@ -1,29 +1,32 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cloud-sql-proxy";
|
||||
version = "1.31.2";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GoogleCloudPlatform";
|
||||
repo = "cloudsql-proxy";
|
||||
repo = "cloud-sql-proxy";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-wlMwl1S9WKtCoruKhMVK1197/3/OWhvvXTT1tH/yPlI=";
|
||||
hash = "sha256-/mXaNRTRIBIPUHY/MOHpGmpB8wBp18wwftn/EdmoffQ=";
|
||||
};
|
||||
|
||||
subPackages = [ "cmd/cloud_sql_proxy" ];
|
||||
subPackages = [ "." ];
|
||||
|
||||
vendorSha256 = "sha256-OMvu0LCYv0Z03ZM2o8UZx/Su2rdvTJp5DUZa8/MtQSc=";
|
||||
vendorSha256 = "sha256-VadE9E4B8BIIHGl+PN4oDl0H56xE3GQn0MxGw5fGsvM=";
|
||||
|
||||
preCheck = ''
|
||||
buildFlagsArray+="-short"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An authenticating proxy for Second Generation Google Cloud SQL databases";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/cloudsql-proxy";
|
||||
description = "Utility for ensuring secure connections to Google Cloud SQL instances";
|
||||
homepage = "https://github.com/GoogleCloudPlatform/cloud-sql-proxy";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ nicknovitski ];
|
||||
mainProgram = "cloud_sql_proxy";
|
||||
maintainers = with maintainers; [ nicknovitski totoroot ];
|
||||
mainProgram = "cloud-sql-proxy";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user