mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 09:03:42 +00:00
Adding the firmware files for raspberrypi
This commit is contained in:
parent
3b26ba7019
commit
a87fba9619
23
pkgs/os-specific/linux/firmware/raspberrypi/default.nix
Normal file
23
pkgs/os-specific/linux/firmware/raspberrypi/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "raspberrypi-firmware-20160106";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/raspberrypi/firmware/archive/4ade27942e.tar.gz";
|
||||
sha256 = "0f4p920vr7dcj4hprgil8baqqbnsjx1jykz0pkdx29mqy0n0xanl";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/raspberrypi/boot
|
||||
cp -R boot/* $out/share/raspberrypi/boot
|
||||
cp -R hardfp/opt/vc/* $out
|
||||
cp opt/vc/LICENCE $out/share/raspberrypi
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Firmware for the Raspberry Pi board";
|
||||
homepage = https://github.com/raspberrypi;
|
||||
license = "non-free";
|
||||
};
|
||||
}
|
@ -6230,6 +6230,8 @@ let
|
||||
radeonR600 = callPackage ../os-specific/linux/firmware/radeon-r600 { };
|
||||
radeonJuniper = callPackage ../os-specific/linux/firmware/radeon-juniper { };
|
||||
|
||||
raspberrypifw = callPackage ../os-specific/linux/firmware/raspberrypi {};
|
||||
|
||||
regionset = callPackage ../os-specific/linux/regionset { };
|
||||
|
||||
rfkill = callPackage ../os-specific/linux/rfkill { };
|
||||
|
Loading…
Reference in New Issue
Block a user