grafanaPlugins.grafana-clickhouse-datasource: 4.8.2 -> 4.14.0 (#498795)

This commit is contained in:
Jhonas Wernery
2026-04-10 09:01:17 +00:00
committed by GitHub
2 changed files with 7 additions and 7 deletions
@@ -2,12 +2,12 @@
grafanaPlugin rec {
pname = "grafana-clickhouse-datasource";
version = "4.8.2";
version = "4.14.0";
zipHash = {
x86_64-linux = "sha256-gegkpks7KIHKUG3nmNzEulbhH18eOsx8Afr0tprHFkk=";
aarch64-linux = "sha256-wvde2c+goezC1xFPZZ9MnHEk287E2ScyExKNXDTbcT8=";
x86_64-darwin = "sha256-zS9LfvSOWCKQIv5GsRS48taM31ZN4i2REY+IIQbqisk=";
aarch64-darwin = "sha256-0QfTdgOkfs27EW1VB+AgHPwF1GRcFBxMPBZ9nRyovrs=";
x86_64-linux = "sha256-+4RoyDRGLgD46FelK9zWfjokiXtgBhEU5RdsGheCEns=";
aarch64-linux = "sha256-9CJy8Wf/B17T64NyL4SBrmLYecdVYSXA5qnpKhcdAHs=";
x86_64-darwin = "sha256-ixrSa02vC/MBg29FNmBRd6YvhkL3QZnzOysLLFgjHEA=";
aarch64-darwin = "sha256-g7ovNQ5jJWcG82EJr6mnc2ijD/Wk6dY3cYhSchZOs5M=";
};
meta = {
description = "Connects Grafana to ClickHouse";
@@ -35,8 +35,8 @@ update() {
update-source-version $system "grafanaPlugins.${plugin_name}" "$latest_version" "$hash"
}
if echo "$api_response" | jq -e .packages.any > /dev/null; then
# the package contains an "any" package, so there should be only one zipHash.
if echo "$api_response" | jq -e '.packages | select(length == 1) | .any' > /dev/null; then
# the package only contains an "any" package, so there should be only one zipHash.
update "any"
else
update "linux-amd64" "x86_64-linux"