2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-07-26 13:34:25 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-index-cpp, ament-lint-auto, ament-lint-common, geometry-msgs, qt5, rclcpp, rclcpp-action, std-msgs, std-srvs, turtlesim-msgs }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-turtlesim";
|
2024-07-26 13:34:25 +00:00
|
|
|
version = "1.9.2-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-07-26 13:34:25 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros_tutorials-release/archive/release/rolling/turtlesim/1.9.2-1.tar.gz";
|
|
|
|
name = "1.9.2-1.tar.gz";
|
|
|
|
sha256 = "9f90184eeb6e9b0165bf14dfabbe2ec9d8332d8a2850ff42a8f0ec34c4d02ac2";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2024-07-26 13:34:25 +00:00
|
|
|
buildInputs = [ ament-cmake ];
|
2023-06-19 17:15:23 -04:00
|
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
2024-07-26 13:34:25 +00:00
|
|
|
propagatedBuildInputs = [ ament-index-cpp geometry-msgs qt5.qtbase rclcpp rclcpp-action std-msgs std-srvs turtlesim-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "turtlesim is a tool made for teaching ROS and ROS packages.";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|