1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/foxy/position-controllers/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, ament-lint-auto, ament-lint-common, controller-manager, forward-command-controller, hardware-interface, pluginlib, rclcpp, ros2-control-test-assets }:
buildRosPackage {
pname = "ros-foxy-position-controllers";
version = "0.4.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/foxy/position_controllers/0.4.1-1.tar.gz";
name = "0.4.1-1.tar.gz";
sha256 = "6e214f37ed74a9741b5648fefb2e2d90c6366226d275064a2cb4c93953fd46dd";
};
buildType = "ament_cmake";
buildInputs = [ pluginlib ];
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common controller-manager hardware-interface ros2-control-test-assets ];
propagatedBuildInputs = [ forward-command-controller rclcpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Generic controller for forwarding commands.'';
license = with lib.licenses; [ asl20 ];
};
}