Merge pull request #178878 from StarGate01/nrf-sdk
nrf5-sdk: init at 17.1.0
This commit is contained in:
commit
4142854642
@ -12091,6 +12091,12 @@
|
|||||||
githubId = 7512804;
|
githubId = 7512804;
|
||||||
name = "Martin Langlotz";
|
name = "Martin Langlotz";
|
||||||
};
|
};
|
||||||
|
stargate01 = {
|
||||||
|
email = "christoph.honal@web.de";
|
||||||
|
github = "StarGate01";
|
||||||
|
githubId = 6362238;
|
||||||
|
name = "Christoph Honal";
|
||||||
|
};
|
||||||
steamwalker = {
|
steamwalker = {
|
||||||
email = "steamwalker@xs4all.nl";
|
email = "steamwalker@xs4all.nl";
|
||||||
github = "steamwalker";
|
github = "steamwalker";
|
||||||
|
37
pkgs/development/libraries/nrf5-sdk/default.nix
Normal file
37
pkgs/development/libraries/nrf5-sdk/default.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchzip
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "nrf5-sdk";
|
||||||
|
version = "17.1.0";
|
||||||
|
|
||||||
|
urlHash = "ddde560";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://nsscprodmedia.blob.core.windows.net/prod/software-and-other-downloads/sdks/nrf5/binaries/nrf5_sdk_${version}_${urlHash}.zip";
|
||||||
|
sha256 = "sha256-q4WQ7X7/z/42/qcii+mOLnobqcbUy0tInkOfRH/Gwus=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/share/nRF5_SDK
|
||||||
|
mv * $out/share/nRF5_SDK
|
||||||
|
rm $out/share/nRF5_SDK/*.msi
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Nordic Semiconductor nRF5 Software Development Kit";
|
||||||
|
homepage = "https://www.nordicsemi.com/Products/Development-software/nRF5-SDK";
|
||||||
|
license = licenses.unfree;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ stargate01 ];
|
||||||
|
};
|
||||||
|
}
|
@ -16112,6 +16112,8 @@ with pkgs;
|
|||||||
sdk = true;
|
sdk = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nrf5-sdk = callPackage ../development/libraries/nrf5-sdk { };
|
||||||
|
|
||||||
nrfutil = callPackage ../development/tools/misc/nrfutil { };
|
nrfutil = callPackage ../development/tools/misc/nrfutil { };
|
||||||
|
|
||||||
obelisk = callPackage ../development/tools/ocaml/obelisk { menhir = ocamlPackages.menhir; };
|
obelisk = callPackage ../development/tools/ocaml/obelisk { menhir = ocamlPackages.menhir; };
|
||||||
|
Loading…
Reference in New Issue
Block a user