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

26 lines
1.2 KiB
Nix

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