Installation
System wide:
{
environment.systemPackages = with nix-casks.packages.${system}; [
nrfutil # nrfutil
];
} Home Manager:
{
home.packages = with nix-casks.packages.${system}; [
nrfutil # nrfutil
];
} Package Definition
{
"pname": "nrfutil",
"version": "1.2.0-9ca8c73",
"src": {
"url": "https://developer.nordicsemi.com/.pc-tools/nrfutil/universal-osx/nrfutil-launcher-universal-apple-darwin-1.2.0-9ca8c73",
"sha256": "454fda3f1ee088f76aa57ac6f208d71d415d0ba3c1f7b88f5ca2347b10775048"
},
"installPhase": [
"mkdir -p \"$out/bin\" && ln -s \"nrfutil-launcher-universal-apple-darwin-1.2.0-9ca8c73\" \"$out/bin/nrfutil\""
],
"meta": {
"description": "Unified CLI utility for Nordic Semiconductor products",
"homepage": "https://www.nordicsemi.com/Products/Development-tools/nrf-util"
}
}