1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-18 00:49:41 +01:00
nixos-hardware/nxp/imx8mq-evk/bsp/imx8mq-firmware.nix
Ganga Ram 53e2a96a9e nxp imx8m quad evaluation platform support
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
2024-02-28 08:54:14 +00:00

19 lines
468 B
Nix

{pkgs, ...}:
with pkgs;
stdenv.mkDerivation rec {
pname = "imx8mq-firmware";
version = "8.22";
src = pkgs.fetchurl {
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-${version}.bin";
sha256 = "sha256-lMi86sVuxQPCMuYU931rvY4Xx9qnHU5lHqj9UDTDA1A=";
};
dontUnpack = true;
dontStrip = true;
installPhase = ''
${pkgs.bash}/bin/bash $src --auto-accept --force
mv firmware-imx-${version} $out
'';
}