nix-ros-overlay/distros/rolling/turtle-tf2-py/default.nix
Superflore 2435baa8ac
Some checks failed
Build / build (humble, aarch64-linux) (push) Has been cancelled
Build / build (humble, x86_64-linux) (push) Has been cancelled
Build / build (jazzy, aarch64-linux) (push) Has been cancelled
Build / build (jazzy, x86_64-linux) (push) Has been cancelled
Build / build (noetic, aarch64-linux) (push) Has been cancelled
Build / build (noetic, x86_64-linux) (push) Has been cancelled
Build / build (rolling, aarch64-linux) (push) Has been cancelled
Build / build (rolling, x86_64-linux) (push) Has been cancelled
regenerate all distros, Fri May 16 13:35:43 2025
2025-05-31 15:39:42 -04:00

24 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, geometry-msgs, launch, launch-ros, python3Packages, rclpy, tf2-ros, turtlesim-msgs }:
buildRosPackage {
pname = "ros-rolling-turtle-tf2-py";
version = "0.7.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry_tutorials-release/archive/release/rolling/turtle_tf2_py/0.7.0-1.tar.gz";
name = "0.7.0-1.tar.gz";
sha256 = "24bb53756abe1f2d0d40918d0538f94f9f3d4e487fb69eb83d7d03104417a4c3";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
propagatedBuildInputs = [ geometry-msgs launch launch-ros python3Packages.numpy rclpy tf2-ros turtlesim-msgs ];
meta = {
description = "turtle_tf2_py demonstrates how to write a ROS2 Python tf2 broadcaster and listener with the turtlesim. The turtle_tf2_listener commands turtle2 to follow turtle1 around as you drive turtle1 using the keyboard.";
license = with lib.licenses; [ asl20 bsdOriginal ];
};
}