nix-ros-overlay/distros/jazzy/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-jazzy-dynamixel-sdk-examples";
version = "3.8.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/dynamixel_sdk-release/archive/release/jazzy/dynamixel_sdk_examples/3.8.3-1.tar.gz";
name = "3.8.3-1.tar.gz";
sha256 = "5c77343b5f874e55ef90546311a625124a2e18d04ed5281aff17d6ae30f90405";
};
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 ];
};
}