mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +03:00
26 lines
1 KiB
Nix
26 lines
1 KiB
Nix
|
|
# Copyright 2025 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-humble-webots-ros2-control";
|
|
version = "2025.0.0-r2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/webots_ros2-release/archive/release/humble/webots_ros2_control/2025.0.0-2.tar.gz";
|
|
name = "2025.0.0-2.tar.gz";
|
|
sha256 = "df3bbe945104ceda6b3c73a919634e8fbbb4498fda8ccb32fc5f624e6bfb2f50";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake 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 ];
|
|
};
|
|
}
|