1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/firmware/rt5677/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

25 lines
602 B
Nix

{ stdenv, fetchgit }:
stdenv.mkDerivation {
name = "rt5677-firmware";
src = fetchgit {
url = "https://github.com/raphael/linux-samus";
rev = "995de6c2093797905fbcd79f1a3625dd3f50be37";
sha256 = "0a6lz9wadm47cmva136q6wd0lw03bmymf9ispnzb091a7skwacry";
};
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 ];
platforms = platforms.linux;
};
}