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";
|
2019-12-24 04:39:50 -08:00
|
|
|
version = "2019-12-15";
|
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;
|
2019-12-24 04:39:50 -08:00
|
|
|
sha256 = "01zwmgva2263ksssqhhi46jh5kzb6z1a4xs8agsb2mbwifxf84cl";
|
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";
|
2019-12-24 04:39:50 -08:00
|
|
|
outputHash = "1jp2bb87jbcml1q3r4yilf9l3pirr19zb70l6mlxlmbqml50zwzd";
|
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";
|
2013-08-13 18:56:07 -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
|
|
|
}
|