620eecebfb
GitOrigin-RevId: 2deb07f3ac4eeb5de1c12c4ba2911a2eb1f6ed61
32 lines
1,018 B
Nix
32 lines
1,018 B
Nix
{ stdenvNoCC, fetchgit, lib }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "firmware-linux-nonfree";
|
|
version = "20211027";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "00vv617ngr8rfrm1rw98xxgc453zb8cb5p8ssz5s3khynpqqg08x";
|
|
};
|
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
# Firmware blobs do not need fixing and should not be modified
|
|
dontFixup = true;
|
|
|
|
outputHashMode = "recursive";
|
|
outputHashAlgo = "sha256";
|
|
outputHash = "1bll1drjp2y8grcxwh1mynxa6qaj1n58mh51ialm7pbryrvsla1c";
|
|
|
|
meta = with lib; {
|
|
description = "Binary firmware collection packaged by kernel.org";
|
|
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
|
|
license = licenses.unfreeRedistributableFirmware;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ fpletz ];
|
|
priority = 6; # give precedence to kernel firmware
|
|
};
|
|
|
|
passthru = { inherit version; };
|
|
}
|