2019-10-28 07:22:48 -07:00
|
|
|
{ stdenv, fetchgit, lib }:
|
2012-01-12 09:16:11 -08:00
|
|
|
|
2015-03-25 14:43:50 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "firmware-linux-nonfree";
|
2020-11-19 01:40:32 -08:00
|
|
|
version = "2020-11-18";
|
2015-02-09 16:28:37 -08:00
|
|
|
|
2018-03-27 17:12:01 -07:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
|
2019-10-28 07:22:48 -07:00
|
|
|
rev = lib.replaceStrings ["-"] [""] version;
|
2020-11-19 01:40:32 -08:00
|
|
|
sha256 = "107p7h13gncsxqhixqq9zmmswvs910sck54ab10s4m5cafvnaf94";
|
2018-03-27 17:12:01 -07:00
|
|
|
};
|
2012-01-12 09:16:11 -08:00
|
|
|
|
2015-02-09 16:28:37 -08:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
2012-01-12 09:16:11 -08:00
|
|
|
|
2018-01-04 17:32:17 -08:00
|
|
|
# Firmware blobs do not need fixing and should not be modified
|
|
|
|
dontFixup = true;
|
|
|
|
|
2019-04-16 06:58:42 -07:00
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHashAlgo = "sha256";
|
2020-11-19 01:40:32 -08:00
|
|
|
outputHash = "1319qr3mhbbvbnl8q151pgfpahwzfv9zg0fvpj34z5h0wnvmlr2v";
|
2019-04-16 06:58:42 -07:00
|
|
|
|
2015-02-09 16:28:37 -08:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Binary firmware collection packaged by kernel.org";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://packages.debian.org/sid/firmware-linux-nonfree";
|
2015-02-09 16:28:37 -08:00
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
platforms = platforms.linux;
|
2018-01-04 17:32:17 -08:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2015-08-24 15:37:54 -07:00
|
|
|
priority = 6; # give precedence to kernel firmware
|
2012-01-12 09:16:11 -08:00
|
|
|
};
|
2015-03-25 14:43:50 -07:00
|
|
|
|
|
|
|
passthru = { inherit version; };
|
2012-01-12 09:16:11 -08:00
|
|
|
}
|