mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 18:54:50 +03:00
26 lines
1.2 KiB
Nix
26 lines
1.2 KiB
Nix
|
|
# 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-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.31.0-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/forward_command_controller/2.31.0-1.tar.gz";
|
|
name = "2.31.0-1.tar.gz";
|
|
sha256 = "68c63e93c88c1362428055f6a2c04344c6f48c050c8c91193b5fc7d3f4842480";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
checkInputs = [ ament-cmake-gmock controller-manager 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 ];
|
|
};
|
|
}
|