# Copyright 2021 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, builtin-interfaces, geometry-msgs, pythonPackages, rclpy, sensor-msgs, std-msgs, webots-ros2-core, webots-ros2-msgs }: buildRosPackage { pname = "ros-foxy-webots-ros2-examples"; version = "1.1.1-r1"; src = fetchurl { url = "https://github.com/cyberbotics/webots_ros2-release/archive/release/foxy/webots_ros2_examples/1.1.1-1.tar.gz"; name = "1.1.1-1.tar.gz"; sha256 = "45bb57fdc52885b67d5a24a10ca863d405ac37944b65f5c4139f219374063ed8"; }; buildType = "ament_python"; checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ]; propagatedBuildInputs = [ builtin-interfaces geometry-msgs rclpy sensor-msgs std-msgs webots-ros2-core webots-ros2-msgs ]; meta = { description = ''Minimal example showing how to control a robot with ROS2 in Webots.''; license = with lib.licenses; [ asl20 ]; }; }