2022-06-09 18:50:37 -04:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# 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";
|
2025-05-16 13:35:43 +00:00
|
|
|
version = "2.10.0-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-05-16 13:35:43 +00:00
|
|
|
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";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake python3Packages.empy ];
|
2022-06-09 18:50:37 -04:00
|
|
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
|
|
|
propagatedBuildInputs = [ asio console-bridge mavlink ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "MAVLink communication library.
|
2022-06-09 18:50:37 -04:00
|
|
|
This library provide unified connection handling classes
|
|
|
|
and URL to connection object mapper.
|
|
|
|
|
2024-03-23 14:09:26 +00:00
|
|
|
This library can be used in standalone programs.";
|
2022-06-09 18:50:37 -04:00
|
|
|
license = with lib.licenses; [ gpl3Only lgpl3Only bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|