1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/galactic/forward-command-controller/default.nix

26 lines
1.1 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, controller-interface, controller-manager, hardware-interface, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets, std-msgs }:
buildRosPackage {
pname = "ros-galactic-forward-command-controller";
version = "1.1.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/galactic/forward_command_controller/1.1.0-1.tar.gz";
name = "1.1.0-1.tar.gz";
sha256 = "a83327b5012f2a71bfa40fd838aa45c561fcb5b293c204818a372d405710ddc9";
};
buildType = "ament_cmake";
buildInputs = [ pluginlib ];
checkInputs = [ ament-cmake-gmock 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 ];
};
}