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

26 lines
1,009 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, builtin-interfaces, geometry-msgs, python-cmake-module, rclpy, rpyutils, tf2 }:
buildRosPackage {
pname = "ros-humble-tf2-py";
version = "0.25.12-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/humble/tf2_py/0.25.12-1.tar.gz";
name = "0.25.12-1.tar.gz";
sha256 = "3a4caaf6bd0a50a0c835768bf0ff29c44f2fa940bc01e7517e823876aea84fa3";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake python-cmake-module ];
checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ builtin-interfaces geometry-msgs rclpy rpyutils tf2 ];
nativeBuildInputs = [ ament-cmake python-cmake-module ];
meta = {
description = "The tf2_py package";
license = with lib.licenses; [ bsdOriginal ];
};
}