14 hash = "sha256-zL9tXl2HsO8JZXEGsjg4+lDJJz30StOMH96rU7neDsg=";
18 hash = "sha256-ACy3rXsvBZNVXdVkpP2AqrsoqKPliw6m9UUWrFOCBzs=";
22 hash = "sha256-nD1pHL/SQqC7OlxuovWwvtnXKMmhfx5qFaF4ti8gh8g=";
26 platform = supported.${stdenv.system} or (throw "unsupported platform ${stdenv.system}");
31 versionWithDashes = builtins.replaceStrings ["."] ["-"] version;
32 in "https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/desktop-software/nrf-command-line-tools/sw/versions-${lib.versions.major version}-x-x/${versionWithDashes}/nrf-command-line-tools-${version}_${platform.name}.tar.gz";
34 in stdenv.mkDerivation {
35 pname = "nrf-command-line-tools";
40 inherit (platform) hash;
43 runtimeDependencies = [
70 description = "Nordic Semiconductor nRF Command Line Tools";
71 homepage = "https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools";
72 license = licenses.unfree;
73 platforms = attrNames supported;
74 maintainers = with maintainers; [ stargate01 ];