# Copyright 2023 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, launch, launch-testing, osrf-testing-tools-cpp, rclcpp, rmw-implementation, rmw-implementation-cmake, rosidl-default-generators, rosidl-default-runtime }: buildRosPackage { pname = "ros-foxy-performance-test"; version = "1.2.1-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/performance_test-release/archive/release/foxy/performance_test/1.2.1-1.tar.gz"; name = "1.2.1-1.tar.gz"; sha256 = "525cfade4a96984b86c41f451b3f15cf7617c346952e1a48139c437fd94513f5"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake osrf-testing-tools-cpp rosidl-default-generators ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common launch launch-testing rmw-implementation-cmake ]; propagatedBuildInputs = [ rclcpp rmw-implementation rosidl-default-runtime ]; nativeBuildInputs = [ ament-cmake rosidl-default-generators ]; meta = { description = ''Tool to test performance of ROS2 and DDS data layers and communication.''; license = with lib.licenses; [ asl20 ]; }; }