1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-27 05:19:44 +01:00
wip-pinebook-pro/firmware/default.nix
2020-01-07 15:09:54 -05:00

26 lines
582 B
Nix

{ 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;
};
}