# Copyright 2024 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.5-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/rmw_fastrtps-release/archive/release/humble/rmw_fastrtps_cpp/6.2.5-1.tar.gz"; name = "6.2.5-1.tar.gz"; sha256 = "69dd85b7038fb9268fecb2b03dbe0573933fed760fff27f9a8790b21bb6a6121"; }; 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 ]; }; }