mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 18:24:50 +03:00
26 lines
1 KiB
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.4-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/dynamixel_sdk-release/archive/release/humble/dynamixel_sdk_examples/3.8.4-1.tar.gz";
|
|
name = "3.8.4-1.tar.gz";
|
|
sha256 = "ed41afd2f3f6d41a8cbce40dd63040bc9d21b9557c94162c181cfe9261842799";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|