From aa4e88a9f1e275fb18227df518a01e3dd09c764b Mon Sep 17 00:00:00 2001 From: Victor Hooi Date: Wed, 31 Jan 2024 13:20:17 +1100 Subject: [PATCH] nrfutil 1.0.0-60fe18a (new cask) Co-authored-by: Patrick Linnane Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com> Co-authored-by: Justin Krehel <39449589+krehel@users.noreply.github.com> --- Casks/n/nrfutil.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Casks/n/nrfutil.rb diff --git a/Casks/n/nrfutil.rb b/Casks/n/nrfutil.rb new file mode 100644 index 0000000000..1807f14d4a --- /dev/null +++ b/Casks/n/nrfutil.rb @@ -0,0 +1,17 @@ +cask "nrfutil" do + version "1.0.0-60fe18a" + sha256 "229af1183c16cef8e18554ef3a922cb56f16eb7ee8dce76d16a0ace94e7fc6d1" + + url "https://developer.nordicsemi.com/.pc-tools/nrfutil/universal-osx/nrfutil-launcher-universal-apple-darwin-#{version}" + name "nrfutil" + desc "Unified CLI utility for Nordic Semiconductor products" + homepage "https://www.nordicsemi.com/Products/Development-tools/nrf-util" + + livecheck do + url "https://developer.nordicsemi.com/.pc-tools/nrfutil/universal-osx/" + regex(/nrfutil-launcher-universal-apple-darwin[._-]v?(\d+(?:\.\d+)+(?:[._-]\h+)?)/i) + end + + binary "nrfutil-launcher-universal-apple-darwin-#{version}", target: "nrfutil" + # No zap stanza required +end