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

25 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, builtin-interfaces, pythonPackages, rclpy, std-msgs, webots-ros2-control, webots-ros2-driver, webots-ros2-epuck, 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 = "2023.1.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/webots_ros2-release/archive/release/rolling/webots_ros2/2023.1.3-1.tar.gz";
name = "2023.1.3-1.tar.gz";
sha256 = "88d045b361d88db007d35c71710f67a9940a6b4c7df076eeba781a962365ea97";
};
buildType = "ament_python";
checkInputs = [ ament-copyright pythonPackages.pytest webots-ros2-tests ];
propagatedBuildInputs = [ builtin-interfaces rclpy std-msgs webots-ros2-control webots-ros2-driver webots-ros2-epuck 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 ];
};
}