sof-firmware: 1.6 -> 1.7 (#121181)

This commit is contained in:
Henri Menke 2021-04-30 15:02:09 +02:00 committed by GitHub
parent 9a80c030b6
commit c9f1544978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,29 +3,28 @@
with lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sof-firmware"; pname = "sof-firmware";
version = "1.6"; version = "1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thesofproject"; owner = "thesofproject";
repo = "sof-bin"; repo = "sof-bin";
rev = "cbdec6963b2c2d58b0080955d3c11b96ff4c92f0"; rev = "v${version}";
sha256 = "0la2pw1zpv50cywiqcfb00cxqvjc73drxwjchyzi54l508817nxh"; sha256 = "sha256-Z0Z4HLsIIuW8E1kFNhAECmzj1HkJVfbEw13B8V7PZLk=";
}; };
phases = [ "unpackPhase" "installPhase" ]; dontFixup = true; # binaries must not be stripped or patchelfed
installPhase = '' installPhase = ''
mkdir -p $out/lib/firmware mkdir -p $out/lib/firmware/intel/
cp -a sof-v${version} $out/lib/firmware/intel/sof
patchShebangs go.sh cp -a sof-tplg-v${version} $out/lib/firmware/intel/sof-tplg
ROOT=$out SOF_VERSION=v${version} ./go.sh
''; '';
meta = with lib; { meta = with lib; {
description = "Sound Open Firmware"; description = "Sound Open Firmware";
homepage = "https://www.sofproject.org/"; homepage = "https://www.sofproject.org/";
license = with licenses; [ bsd3 isc ]; license = with licenses; [ bsd3 isc ];
maintainers = with maintainers; [ lblasc evenbrenden ]; maintainers = with maintainers; [ lblasc evenbrenden hmenke ];
platforms = with platforms; linux; platforms = with platforms; linux;
}; };
} }