nixpkgs/pkgs/os-specific/linux/firmware/rt5677/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
617 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchFromGitHub }:
2016-01-10 11:02:35 +00:00
stdenvNoCC.mkDerivation {
2016-01-10 11:02:35 +00:00
name = "rt5677-firmware";
src = fetchFromGitHub {
owner = "raphael";
repo = "linux-samus";
2016-01-10 11:02:35 +00:00
rev = "995de6c2093797905fbcd79f1a3625dd3f50be37";
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
'';
meta = with lib; {
2016-01-10 11:02:35 +00:00
description = "Firmware for Realtek rt5677 device";
license = licenses.unfreeRedistributableFirmware;
maintainers = [ maintainers.zohl ];
platforms = platforms.linux;
2016-01-10 11:02:35 +00:00
};
}