2022-08-12 15:51:22 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2016-01-10 11:02:35 +00:00
|
|
|
|
2022-08-12 15:51:22 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
2016-01-10 11:02:35 +00:00
|
|
|
name = "rt5677-firmware";
|
|
|
|
|
2022-03-09 09:25:41 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "raphael";
|
|
|
|
repo = "linux-samus";
|
2016-01-10 11:02:35 +00:00
|
|
|
rev = "995de6c2093797905fbcd79f1a3625dd3f50be37";
|
2022-03-09 09:25:41 +00:00
|
|
|
sha256 = "sha256-PjPFpz4qJLC+vTomV31dA3AKGjfYjKB2ZYfUpnj61Cg=";
|
2016-01-10 11:02:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib/firmware
|
|
|
|
cp ./firmware/rt5677_elf_vad $out/lib/firmware
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-01-10 11:02:35 +00:00
|
|
|
description = "Firmware for Realtek rt5677 device";
|
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
maintainers = [ maintainers.zohl ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = platforms.linux;
|
2016-01-10 11:02:35 +00:00
|
|
|
};
|
|
|
|
}
|