Merge pull request #120573 from expipiplus1/joe-bb-tools

inav-blackbox-tools: init at 2021-04-22
This commit is contained in:
Sandro 2021-04-28 01:27:05 +02:00 committed by GitHub
commit 1113134039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, cairo }:
stdenv.mkDerivation rec {
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 = with maintainers; [ expipiplus1 ];
platforms = platforms.all;
};
}

View File

@ -12242,6 +12242,8 @@ in
binutils-arm-embedded = pkgsCross.arm-embedded.buildPackages.binutils;
};
inav-blackbox-tools = callPackage ../tools/misc/inav-blackbox-tools { };
msp430GccSupport = callPackage ../development/misc/msp430/gcc-support.nix { };
msp430Newlib = callPackage ../development/misc/msp430/newlib.nix { };