summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo G <fuzztkd@gmail.com>2021-09-07 11:36:08 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-09-07 22:25:50 +0000
commitf201ecec3346f16047ff638eae8ff64868dbe753 (patch)
treeb946190579d19a6f666c79a3ad53539bc56441fc
parentMerge pull request #137029 from NixOS/backport-136944-to-release-21.05 (diff)
downloadnixpkgs-origin/backport-137016-to-release-21.05.tar.gz
(cherry picked from commit a9e174c1ad7bd8ed2ac88891742bdcf01404e72a)
-rw-r--r--pkgs/development/tools/ccloud-cli/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/tools/ccloud-cli/default.nix b/pkgs/development/tools/ccloud-cli/default.nix
index 3095d661ab35..5814ab90e6d9 100644
--- a/pkgs/development/tools/ccloud-cli/default.nix
+++ b/pkgs/development/tools/ccloud-cli/default.nix
@@ -2,20 +2,22 @@
stdenv.mkDerivation rec {
pname = "ccloud-cli";
- version = "1.25.0";
+ version = "1.39.0";
# To get the latest version:
# curl -L https://cnfl.io/ccloud-cli | sh -s -- -l | grep -v latest | sort -V | tail -n1
src = fetchurl (if stdenv.hostPlatform.isDarwin then {
url = "https://s3-us-west-2.amazonaws.com/confluent.cloud/ccloud-cli/archives/${version}/ccloud_v${version}_darwin_amd64.tar.gz";
- sha256 = "0306jg36dpccwyy239r2xvw3bvsrnrdc88390g26fhcb0048qmgb";
+ sha256 = "0jqpmnx3izl4gv02zpx03z6ayi3cb5if4rnyl1374yaclx44k1gd";
} else {
url = "https://s3-us-west-2.amazonaws.com/confluent.cloud/ccloud-cli/archives/${version}/ccloud_v${version}_linux_amd64.tar.gz";
- sha256 = "02sly7cxqlrfd6chamlp05k9ar93mpfrkx5183js0hf595nlki61";
+ sha256 = "0936hipcl37w4mzzsnjlz4q1z4j9094i4irigzqwg14gdbs7p11s";
});
nativeBuildInputs = [ autoPatchelfHook ];
+ dontStrip = stdenv.isDarwin;
+
installPhase = ''
mkdir -p $out/{bin,share/doc/ccloud-cli}
cp ccloud $out/bin/