mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 22:20:34 +03:00
25 lines
983 B
Nix
25 lines
983 B
Nix
![]() |
|
||
|
# Copyright 2022 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-humble-turtlesim";
|
||
|
version = "1.4.2-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/ros_tutorials-release/archive/release/humble/turtlesim/1.4.2-1.tar.gz";
|
||
|
name = "1.4.2-1.tar.gz";
|
||
|
sha256 = "e259c12d06533fe5943d8b5c5606cb215d2b2cfb309e0aaae263f51f5147d6f3";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|