# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, fastcdr, fastrtps, fastrtps-cmake-module, osrf-testing-tools-cpp, rcpputils, rcutils, rmw, rmw-dds-common, rmw-fastrtps-shared-cpp, rosidl-cmake, rosidl-runtime-c, rosidl-runtime-cpp, rosidl-typesupport-fastrtps-c, rosidl-typesupport-fastrtps-cpp, test-msgs, tracetools }: buildRosPackage { pname = "ros-humble-rmw-fastrtps-cpp"; version = "6.2.7-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/rmw_fastrtps-release/archive/release/humble/rmw_fastrtps_cpp/6.2.7-1.tar.gz"; name = "6.2.7-1.tar.gz"; sha256 = "451b62736e424f549c1d96a53eaec8d83323bef8a3f1901a935436641d2ddf5f"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-ros ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common osrf-testing-tools-cpp test-msgs ]; propagatedBuildInputs = [ ament-cmake fastcdr fastrtps fastrtps-cmake-module rcpputils rcutils rmw rmw-dds-common rmw-fastrtps-shared-cpp rosidl-cmake rosidl-runtime-c rosidl-runtime-cpp rosidl-typesupport-fastrtps-c rosidl-typesupport-fastrtps-cpp tracetools ]; nativeBuildInputs = [ ament-cmake ament-cmake-ros fastrtps-cmake-module rosidl-cmake ]; meta = { description = "Implement the ROS middleware interface using eProsima FastRTPS static code generation in C++."; license = with lib.licenses; [ asl20 ]; }; }