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-ros-py/default.nix

25 lines
940 B
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-xmllint, builtin-interfaces, geometry-msgs, python3Packages, rclpy, sensor-msgs, std-msgs, tf2-msgs, tf2-py }:
buildRosPackage {
pname = "ros-rolling-tf2-ros-py";
version = "0.40.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/rolling/tf2_ros_py/0.40.0-1.tar.gz";
name = "0.40.0-1.tar.gz";
sha256 = "05f2650b2acb79c61de8cfe510940c5b4e7f5dbaa383cf50034cf234bb914734";
};
buildType = "ament_python";
checkInputs = [ ament-xmllint python3Packages.pytest sensor-msgs ];
propagatedBuildInputs = [ builtin-interfaces geometry-msgs rclpy sensor-msgs std-msgs tf2-msgs tf2-py ];
meta = {
description = "This package contains the ROS Python bindings for the tf2 library";
license = with lib.licenses; [ bsdOriginal ];
};
}