Skip to content

Commit

Permalink
Merge pull request #320704 from JohnAZoidberg/sof-tools
Browse files Browse the repository at this point in the history
sof-tools: init at 2.9
  • Loading branch information
Aleksanaa committed Jun 22, 2024
2 parents 915188a + a7e4a56 commit d805613
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/by-name/so/sof-tools/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit d805613

Please sign in to comment.