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

27 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-lint-auto, ament-lint-common, controller-interface, controller-manager, hardware-interface, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets, std-msgs }:
buildRosPackage {
pname = "ros-foxy-forward-command-controller";
version = "0.4.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/foxy/forward_command_controller/0.4.1-1.tar.gz";
name = "0.4.1-1.tar.gz";
sha256 = "639091192a622a299480d4dfe0ea6fdbc4ab703b97636f36cc90acb79b4a12f4";
};
buildType = "ament_cmake";
buildInputs = [ pluginlib ];
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common controller-manager ros2-control-test-assets ];
propagatedBuildInputs = [ controller-interface hardware-interface rclcpp rclcpp-lifecycle realtime-tools std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Generic controller for forwarding commands.'';
license = with lib.licenses; [ asl20 ];
};
}