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

27 lines
1,007 B
Nix
Raw Normal View History

# 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-jazzy-tf2-py";
version = "0.36.10-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/geometry2-release/archive/release/jazzy/tf2_py/0.36.10-1.tar.gz";
name = "0.36.10-1.tar.gz";
sha256 = "6744c1476e1077b7b89ef556a530e04eff12cbafdad9b39d65adf326f7050fcc";
};
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 ];
};
}