mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 13:40:32 +03:00
24 lines
1.1 KiB
Nix
24 lines
1.1 KiB
Nix
|
|
# Copyright 2023 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, builtin-interfaces, controller-manager, diff-drive-controller, joint-state-broadcaster, pythonPackages, rclpy, robot-state-publisher, rviz2, tf2-ros, webots-ros2-control, webots-ros2-driver }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-webots-ros2-turtlebot";
|
|
version = "2023.0.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/webots_ros2-release/archive/release/foxy/webots_ros2_turtlebot/2023.0.2-1.tar.gz";
|
|
name = "2023.0.2-1.tar.gz";
|
|
sha256 = "e19838645807f76ad2f8e73268b36bdf8d3b1f74e68e67c5394762e60d5a7f8b";
|
|
};
|
|
|
|
buildType = "ament_python";
|
|
checkInputs = [ ament-copyright pythonPackages.pytest ];
|
|
propagatedBuildInputs = [ builtin-interfaces controller-manager diff-drive-controller joint-state-broadcaster rclpy robot-state-publisher rviz2 tf2-ros webots-ros2-control webots-ros2-driver ];
|
|
|
|
meta = {
|
|
description = ''TurtleBot3 Burger robot ROS2 interface for Webots.'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|