mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
hexagonrpc: add tools output with sscregistrygen (#548041)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user