3
0
Fork 0
forked from mirrors/nixpkgs

sof-firmware: 2.2.6 -> 2023.12

This commit is contained in:
Neko 2024-01-20 20:18:37 +08:00
parent b0b3ca9f79
commit 95f4f8d898
No known key found for this signature in database
GPG key ID: 347E2F1A6E0632A6

View file

@ -5,11 +5,11 @@
stdenvNoCC.mkDerivation rec {
pname = "sof-firmware";
version = "2.2.6";
version = "2023.12";
src = fetchurl {
url = "https://github.com/thesofproject/sof-bin/releases/download/v${version}/sof-bin-v${version}.tar.gz";
sha256 = "sha256-kyLCp2NtAoRcOyaYTVirj3jWP/THZtCEwxlqWF4ACQU=";
url = "https://github.com/thesofproject/sof-bin/releases/download/v${version}/sof-bin-${version}.tar.gz";
sha256 = "sha256-VeR+tj5iSNvat9ojK7HjHKLnFVs33BFvbcWxc8ujUDs=";
};
dontFixup = true; # binaries must not be stripped or patchelfed
@ -17,8 +17,10 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
mkdir -p $out/lib/firmware/intel
cp -av sof-v${version} $out/lib/firmware/intel/sof
cp -av sof-tplg-v${version} $out/lib/firmware/intel/sof-tplg
cp -av sof $out/lib/firmware/intel/sof
cp -av sof-tplg $out/lib/firmware/intel/sof-tplg
cp -av sof-ace-tplg $out/lib/firmware/intel/sof-ace-tplg
cp -av sof-ipc4 $out/lib/firmware/intel/sof-ipc4
runHook postInstall
'';