1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/humble/turtlebot4-base/default.nix

26 lines
1 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, irobot-create-msgs, libgpiod, rclcpp, rclcpp-action, rcutils, sensor-msgs, std-msgs, turtlebot4-msgs, turtlebot4-node }:
buildRosPackage {
pname = "ros-humble-turtlebot4-base";
version = "1.0.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/turtlebot4_robot-release/archive/release/humble/turtlebot4_base/1.0.2-1.tar.gz";
name = "1.0.2-1.tar.gz";
sha256 = "d5e6f53c4e4affb0f0c546897dc316cc93f5211585cead36a337d3083d7b6876";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ irobot-create-msgs libgpiod rclcpp rclcpp-action rcutils sensor-msgs std-msgs turtlebot4-msgs turtlebot4-node ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''Turtlebot4 Base Node'';
license = with lib.licenses; [ asl20 ];
};
}