excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / y / yubihsm2-sdk.rb
blobabefb57fe14c3c596d9670052eedd2675fee20b8
1 cask "yubihsm2-sdk" do
2   arch arm: "arm64", intel: "amd64"
4   version "2024-09"
5   sha256 arm:   "95eea279c84f6bc472746ba62c263dd6a317a1a031a8ef6b2285225e1fad08a9",
6          intel: "ffa41fd6b59370aa9184a712a1f508f1c8d600d539d8f8a00dde6e076fd5dec8"
8   url "https://developers.yubico.com/YubiHSM2/Releases/yubihsm2-sdk-#{version}-darwin-#{arch}.pkg"
9   name "YubiHSM 2 SDK"
10   desc "Libraries and utilities to interact with a YubiHSM 2 natively and via PKCS#11"
11   homepage "https://developers.yubico.com/YubiHSM2/"
13   livecheck do
14     url "https://developers.yubico.com/YubiHSM2/Releases/"
15     regex(%r{href=.*?/yubihsm2-sdk[._-]v?(\d+(?:[.-]\d+)+)-darwin-#{arch}\.pkg}i)
16   end
18   pkg "yubihsm2-sdk-#{version}-darwin-#{arch}.pkg"
20   uninstall pkgutil: "com.yubico.yubihsm2-sdk"
22   # No zap stanza required
23 end