nixpkgs-suyu/pkgs/os-specific/linux/firmware/firmware-linux-nonfree/default.nix
William A. Kennington III 3cfc6fa38a linux-firmware: 2015-05-13 -> 2015-06-30
Use iwlwifi/linux-firmware temporarily since the firmware for kernel
4.1+ is not mainlined in firmware/linux-firmware.
2015-07-06 18:31:13 -07:00

28 lines
792 B
Nix

{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "firmware-linux-nonfree-${version}";
version = "2015-06-30";
src = fetchgit {
url = "http://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git";
rev = "ea901a57054441907e9b127ad407a8554532f992";
sha256 = "00899r0gakdy2vpgq5zbhbxrl4kyczg1kybv1h3m2lrk9a0j7v67";
};
preInstall = ''
mkdir -p $out
'';
installFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
description = "Binary firmware collection packaged by kernel.org";
homepage = http://packages.debian.org/sid/firmware-linux-nonfree;
license = licenses.unfreeRedistributableFirmware;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
passthru = { inherit version; };
}