nix-ros-overlay/distros/rolling/examples-tf2-py/default.nix

25 lines
949 B
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-xmllint, geometry-msgs, launch-ros, python3Packages, rclpy, sensor-msgs, tf2-ros-py }:
buildRosPackage {
pname = "ros-rolling-examples-tf2-py";
version = "0.42.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/rolling/examples_tf2_py/0.42.1-1.tar.gz";
name = "0.42.1-1.tar.gz";
sha256 = "4e2c49cec904062d405984dc0d771ffff720e0be3908421519527fe9dce492f9";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint python3Packages.pytest ];
propagatedBuildInputs = [ geometry-msgs launch-ros rclpy sensor-msgs tf2-ros-py ];
meta = {
description = "Has examples of using the tf2 Python API.";
license = with lib.licenses; [ asl20 ];
};
}