mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
24 lines
949 B
Nix
24 lines
949 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, ament-xmllint, geometry-msgs, launch-ros, python3Packages, rclpy, sensor-msgs, tf2-ros-py }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-examples-tf2-py";
|
|
version = "0.40.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/rolling/examples_tf2_py/0.40.0-1.tar.gz";
|
|
name = "0.40.0-1.tar.gz";
|
|
sha256 = "d26704321b40261106a8eaf78853d840113d1b95f2d181991c46f58e710f9988";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|