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

24 lines
854 B
Nix

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