mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-10-31 16:19:44 +01:00
Add known-good firmwares
This commit is contained in:
parent
4569bf8172
commit
a0b1f602af
2 changed files with 27 additions and 0 deletions
26
firmware/default.nix
Normal file
26
firmware/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ stdenv
|
||||
, fetchFromGitLab
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "pinebookpro-firmware";
|
||||
version = "2019-12-04";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.manjaro.org";
|
||||
owner = "tsys";
|
||||
repo = "pinebook-firmware";
|
||||
rev = "937f0d52d27d7712da6a008d35fd7c2819e2b077";
|
||||
sha256 = "0qldxxlxk6f3gymkljphwy7dz3cl1gxsnijhng2l7rkrh7h6wgi2";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/firmware/
|
||||
cp -rv brcm $out/lib/firmware/brcm
|
||||
cp -rv rockchip $out/lib/firmware/rockchip
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
license = licenses.unfreeRedistributable;
|
||||
};
|
||||
}
|
|
@ -34,4 +34,5 @@ in
|
|||
];
|
||||
};
|
||||
linuxPackages_pinebookpro = linuxPackagesFor final.linux_pinebookpro;
|
||||
pinebookpro-firmware = callPackage ./firmware {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue