1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-29 17:54:24 +03:00
nix-ros-overlay/dashing/turtlesim/default.nix

26 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, std-srvs, ament-cmake, rosidl-default-generators, std-msgs, rclcpp, qt5, rclcpp-action, ament-index-cpp, rosidl-default-runtime, geometry-msgs }:
buildRosPackage {
pname = "ros-dashing-turtlesim";
version = "1.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ros_tutorials-release/archive/release/dashing/turtlesim/1.0.1-1.tar.gz";
name = "1.0.1-1.tar.gz";
sha256 = "6b87baa51cee30307d4ca46aac1d6f3564fc50f68845a5f034603763893fc238";
};
buildType = "ament_cmake";
buildInputs = [ std-srvs qt5.qtbase rclcpp rclcpp-action ament-index-cpp std-msgs geometry-msgs ];
propagatedBuildInputs = [ std-srvs qt5.qtbase rclcpp rclcpp-action ament-index-cpp std-msgs rosidl-default-runtime geometry-msgs ];
nativeBuildInputs = [ rosidl-default-generators ament-cmake ];
meta = {
description = ''turtlesim is a tool made for teaching ROS and ROS packages.'';
license = with lib.licenses; [ bsdOriginal ];
};
}