# 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-python, ament-lint-auto, ament-lint-common, angles, diagnostic-msgs, diagnostic-updater, eigen, eigen-stl-containers, eigen3-cmake-module, geographic-msgs, geographiclib, geometry-msgs, gtest, libmavconn, mavlink, mavros, mavros-msgs, message-filters, nav-msgs, pluginlib, rclcpp, rclcpp-components, rcpputils, rosidl-default-runtime, sensor-msgs, std-msgs, std-srvs, tf2-eigen, tf2-ros, trajectory-msgs, urdf, visualization-msgs, yaml-cpp, yaml-cpp-vendor }: buildRosPackage { pname = "ros-rolling-mavros-extras"; version = "2.10.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/mavros-release/archive/release/rolling/mavros_extras/2.10.0-1.tar.gz"; name = "2.10.0-1.tar.gz"; sha256 = "d6c1c1f4791ae075069ed215b861ad5ea33fcf52167273d0f851d4897d5367dd"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ament-cmake-python angles ]; checkInputs = [ ament-cmake-gmock ament-cmake-gtest ament-lint-auto ament-lint-common gtest ]; propagatedBuildInputs = [ diagnostic-msgs diagnostic-updater eigen eigen-stl-containers eigen3-cmake-module geographic-msgs geographiclib geometry-msgs libmavconn mavlink mavros mavros-msgs message-filters nav-msgs pluginlib rclcpp rclcpp-components rcpputils rosidl-default-runtime sensor-msgs std-msgs std-srvs tf2-eigen tf2-ros trajectory-msgs urdf visualization-msgs yaml-cpp yaml-cpp-vendor ]; nativeBuildInputs = [ ament-cmake ament-cmake-python eigen3-cmake-module ]; meta = { description = "Extra nodes and plugins for MAVROS."; license = with lib.licenses; [ gpl3Only lgpl3Only bsdOriginal ]; }; }