nix-ros-overlay/distros/humble/mavros/default.nix
Superflore 2435baa8ac
Some checks failed
Build / build (humble, aarch64-linux) (push) Has been cancelled
Build / build (humble, x86_64-linux) (push) Has been cancelled
Build / build (jazzy, aarch64-linux) (push) Has been cancelled
Build / build (jazzy, x86_64-linux) (push) Has been cancelled
Build / build (noetic, aarch64-linux) (push) Has been cancelled
Build / build (noetic, x86_64-linux) (push) Has been cancelled
Build / build (rolling, aarch64-linux) (push) Has been cancelled
Build / build (rolling, x86_64-linux) (push) Has been cancelled
regenerate all distros, Fri May 16 13:35:43 2025
2025-05-31 15:39:42 -04:00

27 lines
1.8 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-python, ament-lint-auto, ament-lint-common, angles, console-bridge, diagnostic-msgs, diagnostic-updater, eigen, eigen-stl-containers, eigen3-cmake-module, geographic-msgs, geographiclib, geometry-msgs, gtest, libmavconn, mavlink, mavros-msgs, message-filters, nav-msgs, pluginlib, python3Packages, rclcpp, rclcpp-components, rclpy, rcpputils, rosidl-default-runtime, sensor-msgs, std-msgs, std-srvs, tf2-eigen, tf2-ros, trajectory-msgs }:
buildRosPackage {
pname = "ros-humble-mavros";
version = "2.10.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/mavros-release/archive/release/humble/mavros/2.10.0-1.tar.gz";
name = "2.10.0-1.tar.gz";
sha256 = "7716bdd4a6a09fb2abeb17f64df0f144f1c3cbad049c90c621583a893b64604e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python angles ];
checkInputs = [ ament-cmake-gmock ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common gtest ];
propagatedBuildInputs = [ console-bridge diagnostic-msgs diagnostic-updater eigen eigen-stl-containers eigen3-cmake-module geographic-msgs geographiclib geometry-msgs libmavconn mavlink mavros-msgs message-filters nav-msgs pluginlib python3Packages.click rclcpp rclcpp-components rclpy rcpputils rosidl-default-runtime sensor-msgs std-msgs std-srvs tf2-eigen tf2-ros trajectory-msgs ];
nativeBuildInputs = [ ament-cmake ament-cmake-python eigen3-cmake-module ];
meta = {
description = "MAVROS -- MAVLink extendable communication node for ROS
with proxy for Ground Control Station.";
license = with lib.licenses; [ gpl3Only lgpl3Only bsdOriginal ];
};
}