1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/rolling/tf2-sensor-msgs/default.nix

26 lines
1.3 KiB
Nix

# Copyright 2024 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, python-cmake-module, python3Packages, rclcpp, sensor-msgs, sensor-msgs-py, std-msgs, tf2, tf2-ros, tf2-ros-py }:
buildRosPackage {
pname = "ros-rolling-tf2-sensor-msgs";
version = "0.35.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/rolling/tf2_sensor_msgs/0.35.0-1.tar.gz";
name = "0.35.0-1.tar.gz";
sha256 = "3719642b4d43b338b3b1059f0aa25f07efc4d8fda7905c5909aaf4ce4fe11f58";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake python-cmake-module ];
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 python-cmake-module ];
meta = {
description = ''Small lib to transform sensor_msgs with tf. Most notably, PointCloud2'';
license = with lib.licenses; [ bsdOriginal ];
};
}