nix-ros-overlay/distros/humble/forward-command-controller/default.nix

26 lines
1.2 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-interface, controller-manager, generate-parameter-library, hardware-interface, hardware-interface-testing, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets, std-msgs }:
buildRosPackage {
pname = "ros-humble-forward-command-controller";
version = "2.45.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/forward_command_controller/2.45.0-1.tar.gz";
name = "2.45.0-1.tar.gz";
sha256 = "25482b0f24a79a13315d5ec3593a34a968bd5a0a3b5df9bcfb55c243c7545a43";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface-testing ros2-control-test-assets ];
propagatedBuildInputs = [ backward-ros controller-interface generate-parameter-library hardware-interface pluginlib rclcpp rclcpp-lifecycle realtime-tools std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Generic controller for forwarding commands.";
license = with lib.licenses; [ asl20 ];
};
}