1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/rolling/turtlesim/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ 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 }:
buildRosPackage {
pname = "ros-rolling-turtlesim";
version = "1.9.2-r1";
src = fetchurl {
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";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ament-index-cpp geometry-msgs qt5.qtbase rclcpp rclcpp-action std-msgs std-srvs turtlesim-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "turtlesim is a tool made for teaching ROS and ROS packages.";
license = with lib.licenses; [ bsdOriginal ];
};
}