1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/humble/libmavconn/default.nix

31 lines
1.1 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, asio, console-bridge, mavlink, python3Packages }:
buildRosPackage {
pname = "ros-humble-libmavconn";
version = "2.10.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/mavros-release/archive/release/humble/libmavconn/2.10.0-1.tar.gz";
name = "2.10.0-1.tar.gz";
sha256 = "566446aaf8bbef814a7467b07028dbe984a57f60e309e3b56894737cb116e2aa";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake python3Packages.empy ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ asio console-bridge mavlink ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "MAVLink communication library.
This library provide unified connection handling classes
and URL to connection object mapper.
This library can be used in standalone programs.";
license = with lib.licenses; [ gpl3Only lgpl3Only bsdOriginal ];
};
}