Merge pull request #89957 from evenbrenden/sof-firmware-v1.5
sof-firmware: 1.4.2 -> 1.5.1
This commit is contained in:
commit
85baf7179f
|
@ -1,28 +1,33 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sof-firmware";
|
||||
version = "1.4.2";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.alsa-project.org/files/pub/misc/sof/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1nkh020gjm45vxd6fvmz63hj16ilff2nl5avvsklajjs6xci1sf5";
|
||||
src = fetchFromGitHub {
|
||||
owner = "thesofproject";
|
||||
repo = "sof-bin";
|
||||
rev = "ae61d2778b0a0f47461a52da0d1f191f651e0763";
|
||||
sha256 = "0j6bpwz49skvdvian46valjw4anwlrnkq703n0snkbngmq78prba";
|
||||
};
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
||||
installPhase = ''
|
||||
rm lib/firmware/intel/{sof/LICENCE,sof-tplg/LICENCE}
|
||||
mkdir $out
|
||||
cp -r lib $out/lib
|
||||
mkdir -p $out/lib/firmware/intel
|
||||
|
||||
sed -i 's/ROOT=.*$/ROOT=$out/g' go.sh
|
||||
sed -i 's/VERSION=.*$/VERSION=v${version}/g' go.sh
|
||||
|
||||
./go.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Sound Open Firmware";
|
||||
homepage = "https://www.sofproject.org/";
|
||||
license = with licenses; [ bsd3 isc ];
|
||||
maintainers = with maintainers; [ lblasc ];
|
||||
maintainers = with maintainers; [ lblasc evenbrenden ];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue