nix-ros-overlay/distros/humble/effort-controllers/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-gmock, backward-ros, controller-manager, forward-command-controller, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-humble-effort-controllers";
version = "2.46.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/effort_controllers/2.46.0-1.tar.gz";
name = "2.46.0-1.tar.gz";
sha256 = "bbd02173acbdcd9d1b7ebc6f7ddf6850f50dc891b1fdf08b54809097f51c4052";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface hardware-interface-testing ros2-control-test-assets ];
propagatedBuildInputs = [ backward-ros forward-command-controller pluginlib rclcpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Generic controller for forwarding commands.";
license = with lib.licenses; [ asl20 ];
};
}