mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
26 lines
1.1 KiB
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-lint-auto, ament-lint-common, dynamixel-interfaces, dynamixel-sdk, hardware-interface, pluginlib, rclcpp, realtime-tools, std-srvs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-dynamixel-hardware-interface";
|
|
version = "1.4.6-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/dynamixel_hardware_interface-release/archive/release/humble/dynamixel_hardware_interface/1.4.6-1.tar.gz";
|
|
name = "1.4.6-1.tar.gz";
|
|
sha256 = "bdbcee265350585c737ead29feac0608848470f72cac51f3c69a2ce370854c9a";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ dynamixel-interfaces dynamixel-sdk hardware-interface pluginlib rclcpp realtime-tools std-srvs ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = "ROS 2 package providing a hardware interface for controlling Dynamixel motors via the ROS 2 control framework.";
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|