2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchgit }:
|
2012-01-12 18:16:11 +01:00
|
|
|
|
2015-03-25 22:43:50 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "firmware-linux-nonfree-${version}";
|
2018-12-16 00:18:39 +01:00
|
|
|
version = "2018-12-13";
|
2015-02-10 01:28:37 +01:00
|
|
|
|
2018-03-28 02:12:01 +02:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
|
2018-12-16 00:18:39 +01:00
|
|
|
rev = "813fa1fc6fba6638decd974c4a6a2e485069ea15";
|
|
|
|
sha256 = "0zspisbrvplgz1plk4ya22h7ilnsk60srk4q38h6n5d18fpn7rdw";
|
2018-03-28 02:12:01 +02:00
|
|
|
};
|
2012-01-12 18:16:11 +01:00
|
|
|
|
2015-02-10 01:28:37 +01:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
2012-01-12 18:16:11 +01:00
|
|
|
|
2018-01-05 02:32:17 +01:00
|
|
|
# Firmware blobs do not need fixing and should not be modified
|
|
|
|
dontFixup = true;
|
|
|
|
|
2018-08-07 15:54:27 +02:00
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHashAlgo = "sha256";
|
2018-12-16 00:18:39 +01:00
|
|
|
outputHash = "1yr6wcvc3s97h4w0qapma4l17dqsj175an6kmn5w6dppz19g0r5b";
|
2018-08-07 15:54:27 +02:00
|
|
|
|
2015-02-10 01:28:37 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Binary firmware collection packaged by kernel.org";
|
2013-08-14 03:56:07 +02:00
|
|
|
homepage = http://packages.debian.org/sid/firmware-linux-nonfree;
|
2015-02-10 01:28:37 +01:00
|
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
|
|
platforms = platforms.linux;
|
2018-01-05 02:32:17 +01:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
2015-08-25 00:37:54 +02:00
|
|
|
priority = 6; # give precedence to kernel firmware
|
2012-01-12 18:16:11 +01:00
|
|
|
};
|
2015-03-25 22:43:50 +01:00
|
|
|
|
|
|
|
passthru = { inherit version; };
|
2012-01-12 18:16:11 +01:00
|
|
|
}
|