Merge pull request #320704 from JohnAZoidberg/sof-tools

sof-tools: init at 2.9
This commit is contained in:
Aleksana 2024-06-22 14:44:11 +08:00 committed by GitHub
commit d805613855
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, cmake, alsa-lib }:
stdenv.mkDerivation rec {
pname = "sof-tools";
version = "2.9";
src = fetchFromGitHub {
owner = "thesofproject";
repo = "sof";
rev = "v${version}";
hash = "sha256-AOBJtC40Lu1gWM8w/Vs/nc540bisg58m+qH16F1e6jY=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ alsa-lib ];
sourceRoot = "${src.name}/tools";
meta = with lib; {
description = "Tools to develop, test and debug SoF (Sund Open Firmware)";
homepage = "https://thesofproject.github.io";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.johnazoidberg ];
mainProgram = "sof-ctl";
};
}