3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #147691 from hmenke/sof-firmware

sof-firmware: 1.9 -> 1.9.2
This commit is contained in:
Guillaume Girol 2021-12-04 09:52:39 +00:00 committed by GitHub
commit abab86e212
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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