1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/rolling/webots-ros2/default.nix

25 lines
1.3 KiB
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, builtin-interfaces, python3Packages, rclpy, std-msgs, webots-ros2-control, webots-ros2-crazyflie, webots-ros2-driver, webots-ros2-epuck, webots-ros2-husarion, webots-ros2-importer, webots-ros2-mavic, webots-ros2-msgs, webots-ros2-tesla, webots-ros2-tests, webots-ros2-tiago, webots-ros2-turtlebot, webots-ros2-universal-robot }:
buildRosPackage {
pname = "ros-rolling-webots-ros2";
version = "2025.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/webots_ros2-release/archive/release/rolling/webots_ros2/2025.0.0-1.tar.gz";
name = "2025.0.0-1.tar.gz";
sha256 = "4a82ff4554fd4259a362611a2c4d60ca8f24dc5f4330fa37a07f8800f96ebcb5";
};
buildType = "ament_python";
checkInputs = [ ament-copyright python3Packages.pytest webots-ros2-tests ];
propagatedBuildInputs = [ builtin-interfaces rclpy std-msgs webots-ros2-control webots-ros2-crazyflie webots-ros2-driver webots-ros2-epuck webots-ros2-husarion webots-ros2-importer webots-ros2-mavic webots-ros2-msgs webots-ros2-tesla webots-ros2-tiago webots-ros2-turtlebot webots-ros2-universal-robot ];
meta = {
description = "Interface between Webots and ROS2";
license = with lib.licenses; [ asl20 ];
};
}