nix-ros-overlay/distros/foxy/webots-ros2-control/default.nix
2022-06-11 13:21:09 -04:00

26 lines
1 KiB
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, controller-manager, hardware-interface, pluginlib, rclcpp, rclcpp-lifecycle, ros-environment, webots-ros2-driver }:
buildRosPackage {
pname = "ros-foxy-webots-ros2-control";
version = "1.2.3-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/webots_ros2-release/archive/release/foxy/webots_ros2_control/1.2.3-2.tar.gz";
name = "1.2.3-2.tar.gz";
sha256 = "688a6a9192636c7c41510d832b97013a56729b6004db0b2fd3844b41ff41eb4b";
};
buildType = "ament_cmake";
buildInputs = [ ros-environment ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ controller-manager hardware-interface pluginlib rclcpp rclcpp-lifecycle webots-ros2-driver ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''ros2_control plugin for Webots'';
license = with lib.licenses; [ asl20 ];
};
}