1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/humble/position-controllers/default.nix

27 lines
1 KiB
Nix
Raw Normal View History

# 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-manager, forward-command-controller, pluginlib, rclcpp, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-humble-position-controllers";
version = "2.19.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/humble/position_controllers/2.19.0-1.tar.gz";
name = "2.19.0-1.tar.gz";
sha256 = "4f915e0b470914d8c09995d05c07cc08a96d7b89d9bf0f8d9452e80b7cf62f0c";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake pluginlib ];
checkInputs = [ ament-cmake-gmock controller-manager ros2-control-test-assets ];
propagatedBuildInputs = [ backward-ros forward-command-controller rclcpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Generic controller for forwarding commands.'';
license = with lib.licenses; [ asl20 ];
};
}