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

26 lines
1.1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-index-python, geometry-msgs, moveit-core, moveit-ros-planning, moveit-ros-planning-interface, octomap-msgs, pybind11-vendor, python3Packages, rclcpp, rclpy }:
buildRosPackage {
pname = "ros-jazzy-moveit-py";
version = "2.12.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/moveit2-release/archive/release/jazzy/moveit_py/2.12.3-1.tar.gz";
name = "2.12.3-1.tar.gz";
sha256 = "44feaccdb5a29e1d8385ead3a60436183339fa1cb16437ef437c6f1ea7a818b3";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake pybind11-vendor ];
checkInputs = [ ament-cmake-pytest python3Packages.pytest ];
propagatedBuildInputs = [ ament-index-python geometry-msgs moveit-core moveit-ros-planning moveit-ros-planning-interface octomap-msgs rclcpp rclpy ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Python binding for MoveIt 2";
license = with lib.licenses; [ bsdOriginal ];
};
}