# 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-core, ament-lint-auto, ament-lint-common, fastcdr, fastdds, osrf-testing-tools-cpp, rcpputils, rcutils, rmw, rmw-dds-common, rmw-fastrtps-shared-cpp, rosidl-runtime-c, rosidl-typesupport-introspection-c, rosidl-typesupport-introspection-cpp, test-msgs, tracetools }: buildRosPackage { pname = "ros-rolling-rmw-fastrtps-dynamic-cpp"; version = "9.4.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/rmw_fastrtps-release/archive/release/rolling/rmw_fastrtps_dynamic_cpp/9.4.0-1.tar.gz"; name = "9.4.0-1.tar.gz"; sha256 = "69eed229928e63af05836b03392c9586f7cae584540c0a32fc71f6b2017a9177"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-ros-core ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common osrf-testing-tools-cpp test-msgs ]; propagatedBuildInputs = [ ament-cmake fastcdr fastdds rcpputils rcutils rmw rmw-dds-common rmw-fastrtps-shared-cpp rosidl-runtime-c rosidl-typesupport-introspection-c rosidl-typesupport-introspection-cpp tracetools ]; nativeBuildInputs = [ ament-cmake ament-cmake-ros-core ]; meta = { description = "Implement the ROS middleware interface using introspection type support."; license = with lib.licenses; [ asl20 ]; }; }