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