forked from mirrors/nixpkgs
sof-firmware: 1.9 -> 1.9.2
This commit is contained in:
parent
9dd8cb8ce2
commit
5baed79906
|
@ -5,20 +5,20 @@
|
|||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sof-firmware";
|
||||
version = "1.9";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thesofproject";
|
||||
repo = "sof-bin";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-yife3gO8lXOGwRye213II9rCQqDic7B7w1xW1o7ajF8=";
|
||||
sha256 = "sha256-aEoLlP34rorllCdTneATlCHnmhJD/VABV9Uv4dDmShA=";
|
||||
};
|
||||
|
||||
dontFixup = true; # binaries must not be stripped or patchelfed
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
cd "v${version}.x"
|
||||
cd "v${lib.versions.majorMinor version}.x"
|
||||
mkdir -p $out/lib/firmware/intel/
|
||||
cp -a sof-v${version} $out/lib/firmware/intel/sof
|
||||
cp -a sof-tplg-v${version} $out/lib/firmware/intel/sof-tplg
|
||||
|
|
Loading…
Reference in a new issue