hexagonrpc: add tools output with sscregistrygen (#548041)

This commit is contained in:
Matthew Croughan
2026-08-01 11:25:41 +00:00
committed by GitHub

View File

@@ -4,6 +4,8 @@
fetchFromGitHub,
meson,
ninja,
pkg-config,
json_c,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -17,11 +19,27 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-OC6wXBCIW4XznWG0zzxRK3BzWMVK2Jq/gTL36sJV1PE=";
};
outputs = [
"out"
"tools"
];
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
json_c
];
# sscregistrygen is only compiled when json-c is available and meson doesn't install it
postInstall = ''
mkdir -p $tools/bin
install -Dm755 tools/sscregistrygen $tools/bin/sscregistrygen
'';
meta = {
description = "Daemon to communicate with Qualcomm DSPs";
homepage = "https://github.com/linux-msm/hexagonrpc";