2016-01-10 11:02:35 +00:00
|
|
|
{ stdenv, fetchgit }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "rt5677-firmware";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/raphael/linux-samus";
|
|
|
|
rev = "995de6c2093797905fbcd79f1a3625dd3f50be37";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "0a6lz9wadm47cmva136q6wd0lw03bmymf9ispnzb091a7skwacry";
|
2016-01-10 11:02:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/firmware
|
|
|
|
cp ./firmware/rt5677_elf_vad $out/lib/firmware
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Firmware for Realtek rt5677 device";
|
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
maintainers = [ maintainers.zohl ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.linux;
|
2016-01-10 11:02:35 +00:00
|
|
|
};
|
|
|
|
}
|