2017-10-13 10:35:12 +01:00
|
|
|
{ stdenv, fetchgit, runCommand, git, cacert, gnupg }:
|
2012-01-12 17:16:11 +00:00
|
|
|
|
2015-03-25 21:43:50 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "firmware-linux-nonfree-${version}";
|
2018-03-28 01:12:01 +01:00
|
|
|
version = "2018-03-20";
|
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";
|
2018-04-04 06:00:12 +01:00
|
|
|
rev = "8c1e439c967a50f0698d61aafdba3841aff10db0";
|
|
|
|
sha256 = "110vxgahyx5dvylqrxsm5cmx4a32cl2zchvm6cgc270jz75fg7wd";
|
2018-03-28 01:12:01 +01:00
|
|
|
};
|
2012-01-12 17:16:11 +00:00
|
|
|
|
2015-02-10 00:28:37 +00:00
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out
|
2012-02-07 09:14:34 +00: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;
|
|
|
|
|
2015-02-10 00:28:37 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Binary firmware collection packaged by kernel.org";
|
2013-08-14 02:56:07 +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
|
|
|
}
|