sof-firmware: 1.5.1 -> 1.6

https://github.com/thesofproject/sof/releases/tag/v1.6
This commit is contained in:
Luka Blaskovic 2020-11-14 07:20:20 +00:00
parent c18b90b5b9
commit 8b1717c266

View file

@ -3,24 +3,22 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sof-firmware"; pname = "sof-firmware";
version = "1.5.1"; version = "1.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thesofproject"; owner = "thesofproject";
repo = "sof-bin"; repo = "sof-bin";
rev = "ae61d2778b0a0f47461a52da0d1f191f651e0763"; rev = "cbdec6963b2c2d58b0080955d3c11b96ff4c92f0";
sha256 = "0j6bpwz49skvdvian46valjw4anwlrnkq703n0snkbngmq78prba"; sha256 = "0la2pw1zpv50cywiqcfb00cxqvjc73drxwjchyzi54l508817nxh";
}; };
phases = [ "unpackPhase" "installPhase" ]; phases = [ "unpackPhase" "installPhase" ];
installPhase = '' installPhase = ''
mkdir -p $out/lib/firmware/intel mkdir -p $out/lib/firmware
sed -i 's/ROOT=.*$/ROOT=$out/g' go.sh patchShebangs go.sh
sed -i 's/VERSION=.*$/VERSION=v${version}/g' go.sh ROOT=$out SOF_VERSION=v${version} ./go.sh
./go.sh
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {