nix-ros-overlay/distros/humble/velocity-controllers/default.nix

27 lines
1 KiB
Nix
Raw Normal View History

# Copyright 2024 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, pluginlib, rclcpp, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-humble-velocity-controllers";
version = "2.32.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/velocity_controllers/2.32.0-1.tar.gz";
name = "2.32.0-1.tar.gz";
sha256 = "6bdd747e4c7947c6296e84da862c0be4e61c80e88f0e4332b9e4d795f637f37f";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gmock controller-manager hardware-interface 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 ];
};
}