1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/rolling/libmavconn/default.nix

31 lines
1.1 KiB
Nix
Raw 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-rolling-libmavconn";
version = "2.9.0-r1";
src = fetchurl {
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";
};
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 ];
};
}