# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-cmake-pytest, ament-lint-auto, ament-lint-common, eigen, eigen3-cmake-module, geometry-msgs, python3Packages, rclcpp, sensor-msgs, sensor-msgs-py, std-msgs, tf2, tf2-ros, tf2-ros-py }: buildRosPackage { pname = "ros-rolling-tf2-sensor-msgs"; version = "0.40.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/geometry2-release/archive/release/rolling/tf2_sensor_msgs/0.40.0-1.tar.gz"; name = "0.40.0-1.tar.gz"; sha256 = "14a5bd6ac9c185ab8fa96ac9a3ed6f8ad47a7053bb8cb595044225eac2aecf25"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ]; checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common rclcpp ]; propagatedBuildInputs = [ eigen eigen3-cmake-module geometry-msgs python3Packages.numpy sensor-msgs sensor-msgs-py std-msgs tf2 tf2-ros tf2-ros-py ]; nativeBuildInputs = [ ament-cmake eigen3-cmake-module ]; meta = { description = "Small lib to transform sensor_msgs with tf. Most notably, PointCloud2"; license = with lib.licenses; [ bsdOriginal ]; }; }