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

32 lines
1.6 KiB
Nix
Raw Normal View History

# Copyright 2025 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-google-benchmark, ament-cmake-gtest, ament-cmake-lint-cmake, ament-cmake-ros, ament-cmake-uncrustify, ament-cmake-xmllint, builtin-interfaces, geometry-msgs, rcutils, rosidl-runtime-cpp }:
buildRosPackage {
pname = "ros-jazzy-tf2";
version = "0.36.8-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/jazzy/tf2/0.36.8-1.tar.gz";
name = "0.36.8-1.tar.gz";
sha256 = "106034fbf5ebdf20049eb350b4b13e150bb6bbdec8e949a7308af3657ecaea00";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-ros ];
checkInputs = [ ament-cmake-copyright ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-google-benchmark ament-cmake-gtest ament-cmake-lint-cmake ament-cmake-uncrustify ament-cmake-xmllint ];
propagatedBuildInputs = [ builtin-interfaces 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 ];
};
}