zbctl: 8.2.11 -> 8.4.19 (#414108)

This commit is contained in:
Peder Bergebakken Sundt
2025-06-15 06:50:53 +02:00
committed by GitHub
+11 -11
View File
@@ -4,20 +4,20 @@
fetchurl,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "zbctl";
version = "8.2.11";
version = "8.4.19";
src =
if stdenvNoCC.hostPlatform.system == "x86_64-darwin" then
fetchurl {
url = "https://github.com/camunda/zeebe/releases/download/${version}/zbctl.darwin";
sha256 = "0390n6wmlmfwqf6fvw6wqg6hbrs7bm9x2cdaajlw87377lklypkf";
url = "https://github.com/camunda/zeebe/releases/download/${finalAttrs.version}/zbctl.darwin";
hash = "sha256-RuZX9TWuXBxxegLw0La0l9/6zh96V/2trJvZUoCvTKk=";
}
else if stdenvNoCC.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://github.com/camunda/zeebe/releases/download/${version}/zbctl";
sha256 = "081hc0nynwg014lhsxxyin4rc2i9z6wh8q9i98cjjd8kgr41h096";
url = "https://github.com/camunda/zeebe/releases/download/${finalAttrs.version}/zbctl";
hash = "sha256-NTJqmcOzpOzHjrtOHBU2J3u0f7sESBeZMbb8kx3zR38=";
}
else
throw "Unsupported platform ${stdenvNoCC.hostPlatform.system}";
@@ -28,9 +28,9 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp $src $out/bin/zbctl
chmod +x $out/bin/zbctl
install -Dm755 $src $out/bin/zbctl
runHook postInstall
'';
@@ -38,7 +38,7 @@ stdenvNoCC.mkDerivation rec {
description = "Command line interface to interact with Camunda 8 and Zeebe";
homepage = "https://docs.camunda.io/docs/apis-clients/cli-client/";
downloadPage = "https://github.com/camunda/zeebe/releases";
changelog = "https://github.com/camunda/zeebe/releases/tag/${version}";
changelog = "https://github.com/camunda/zeebe/releases/tag/${finalAttrs.version}";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.asl20;
platforms = [
@@ -57,4 +57,4 @@ stdenvNoCC.mkDerivation rec {
'';
mainProgram = "zbctl";
};
}
})