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

25 lines
964 B
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-gtest, eigen, eigen3-cmake-module, sensor-msgs, tf2, tf2-ros, tf2-ros-py }:
buildRosPackage {
pname = "ros-galactic-tf2-sensor-msgs";
version = "0.17.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/galactic/tf2_sensor_msgs/0.17.2-1.tar.gz";
name = "0.17.2-1.tar.gz";
sha256 = "80aabbf0502c146cc7f0f24aecf76e68c702777e09d18f853a392501a21ccc5b";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ];
propagatedBuildInputs = [ eigen eigen3-cmake-module sensor-msgs tf2 tf2-ros tf2-ros-py ];
nativeBuildInputs = [ ament-cmake-auto eigen3-cmake-module ];
meta = {
description = ''Small lib to transform sensor_msgs with tf. Most notably, PointCloud2'';
license = with lib.licenses; [ bsdOriginal ];
};
}