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/eloquent/turtlesim/default.nix
2020-08-24 18:45:07 -04:00

24 lines
987 B
Nix

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