nix-ros-overlay/distros/humble/dynamixel-sdk-examples/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, ament-lint-auto, ament-lint-common, dynamixel-sdk, dynamixel-sdk-custom-interfaces, rclcpp, rclpy }:
buildRosPackage {
pname = "ros-humble-dynamixel-sdk-examples";
version = "3.8.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/dynamixel_sdk-release/archive/release/humble/dynamixel_sdk_examples/3.8.3-1.tar.gz";
name = "3.8.3-1.tar.gz";
sha256 = "d2bbcc7e098b1081ac90ce891dd2e95116b7774b53f247db5ce340e6d2f52b0f";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ dynamixel-sdk dynamixel-sdk-custom-interfaces rclcpp rclpy ];
nativeBuildInputs = [ ament-cmake ament-cmake-python ];
meta = {
description = "ROS 2 examples using ROBOTIS DYNAMIXEL SDK";
license = with lib.licenses; [ asl20 ];
};
}