Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
990 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
cairo,
}:
stdenv.mkDerivation {
pname = "inav-blackbox-tools";
version = "unstable-2021-04-22";
src = fetchFromGitHub {
owner = "iNavFlight";
repo = "blackbox-tools";
rev = "0109e2fb9b44d593e60bca4cef4098d83c55c373";
sha256 = "1rdlw74dqq0hahnka2w2pgvs172vway2x6v8byxl2s773l22k4ln";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ cairo ];
installPhase = ''
runHook preInstall
mkdir -p "$out/bin"
cp obj/{blackbox_decode,blackbox_render,encoder_testbed} "$out/bin"
runHook postInstall
'';
meta = with lib; {
description = "Tools for working with blackbox flight logs";
homepage = "https://github.com/inavflight/blackbox-tools";
license = licenses.gpl3Only;
maintainers = [ ];
platforms = platforms.all;
broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/inav-blackbox-tools.x86_64-darwin
};
}