mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
sof-firmware: 1.5.1 -> 1.6
https://github.com/thesofproject/sof/releases/tag/v1.6
This commit is contained in:
parent
c18b90b5b9
commit
8b1717c266
1 changed files with 6 additions and 8 deletions
|
@ -3,24 +3,22 @@
|
|||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sof-firmware";
|
||||
version = "1.5.1";
|
||||
version = "1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thesofproject";
|
||||
repo = "sof-bin";
|
||||
rev = "ae61d2778b0a0f47461a52da0d1f191f651e0763";
|
||||
sha256 = "0j6bpwz49skvdvian46valjw4anwlrnkq703n0snkbngmq78prba";
|
||||
rev = "cbdec6963b2c2d58b0080955d3c11b96ff4c92f0";
|
||||
sha256 = "0la2pw1zpv50cywiqcfb00cxqvjc73drxwjchyzi54l508817nxh";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib/firmware/intel
|
||||
mkdir -p $out/lib/firmware
|
||||
|
||||
sed -i 's/ROOT=.*$/ROOT=$out/g' go.sh
|
||||
sed -i 's/VERSION=.*$/VERSION=v${version}/g' go.sh
|
||||
|
||||
./go.sh
|
||||
patchShebangs go.sh
|
||||
ROOT=$out SOF_VERSION=v${version} ./go.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue