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/iron/tf2/default.nix

32 lines
1.6 KiB
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-copyright, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-gtest, ament-cmake-lint-cmake, ament-cmake-ros, ament-cmake-uncrustify, ament-cmake-xmllint, builtin-interfaces, console-bridge, console-bridge-vendor, geometry-msgs, rcutils, rosidl-runtime-cpp }:
buildRosPackage {
pname = "ros-iron-tf2";
version = "0.31.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/iron/tf2/0.31.5-1.tar.gz";
name = "0.31.5-1.tar.gz";
sha256 = "f03e1ea75af1bc695c70492ddd56db2a9760614669a03a63622309b806682183";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-ros ];
checkInputs = [ ament-cmake-copyright ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-gtest ament-cmake-lint-cmake ament-cmake-uncrustify ament-cmake-xmllint ];
propagatedBuildInputs = [ builtin-interfaces console-bridge console-bridge-vendor geometry-msgs rcutils rosidl-runtime-cpp ];
nativeBuildInputs = [ ament-cmake ament-cmake-ros ];
meta = {
description = ''tf2 is the second generation of the transform library, which lets
the user keep track of multiple coordinate frames over time. tf2
maintains the relationship between coordinate frames in a tree
structure buffered in time, and lets the user transform points,
vectors, etc between any two coordinate frames at any desired
point in time.'';
license = with lib.licenses; [ bsdOriginal ];
};
}