2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05: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-rolling-libmavconn";
|
2024-10-11 13:52:59 +00:00
|
|
|
version = "2.9.0-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-10-11 13:52:59 +00:00
|
|
|
url = "https://github.com/ros2-gbp/mavros-release/archive/release/rolling/libmavconn/2.9.0-1.tar.gz";
|
|
|
|
name = "2.9.0-1.tar.gz";
|
|
|
|
sha256 = "84e15d81da92f7df6a232ea9c5b388636573d26e0347d771bcf8c54172cf5692";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "MAVLink communication library.
|
2022-12-09 19:20:15 -05: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-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ gpl3Only lgpl3Only bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|