2022-05-12 15:20:19 +00:00
|
|
|
{ stdenvNoCC, fetchzip, lib }:
|
2012-01-12 17:16:11 +00:00
|
|
|
|
2020-12-18 19:49:08 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2022-01-09 16:36:20 +00:00
|
|
|
pname = "linux-firmware";
|
2022-07-11 05:50:16 +00:00
|
|
|
version = "20220708";
|
2015-02-10 00:28:37 +00:00
|
|
|
|
2022-05-12 15:20:19 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${version}.tar.gz";
|
2022-07-11 05:50:16 +00:00
|
|
|
sha256 = "sha256-jsmbBxQ4RHBySBq2lks5tJ6YTwwlkvVe2Xc0CDJY8IE=";
|
2018-03-28 00:12:01 +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;
|
|
|
|
|
2019-04-16 13:58:42 +00:00
|
|
|
outputHashMode = "recursive";
|
|
|
|
outputHashAlgo = "sha256";
|
2022-07-11 05:50:16 +00:00
|
|
|
outputHash = "sha256-FNYZMJnqR2waODUXisch3ObdEjwQN94QSiBE2dDW4sk=";
|
2019-04-16 13:58:42 +00:00
|
|
|
|
2021-01-15 14:45:37 +00:00
|
|
|
meta = with lib; {
|
2015-02-10 00:28:37 +00:00
|
|
|
description = "Binary firmware collection packaged by kernel.org";
|
2020-12-18 19:49:08 +00:00
|
|
|
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
|
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 22:37:54 +00: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
|
|
|
}
|