nix-ros-overlay/distros/jazzy/turtlebot4-node/default.nix

26 lines
998 B
Nix

# Copyright 2025 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, rclcpp, rclcpp-action, rcutils, sensor-msgs, std-msgs, std-srvs, turtlebot4-msgs }:
buildRosPackage {
pname = "ros-jazzy-turtlebot4-node";
version = "2.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/turtlebot4-release/archive/release/jazzy/turtlebot4_node/2.0.1-1.tar.gz";
name = "2.0.1-1.tar.gz";
sha256 = "ed2ab38d5dab7bc076f1b756216391b81ab6e21be0245e631c07b92cb5b7fd64";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ irobot-create-msgs rclcpp rclcpp-action rcutils sensor-msgs std-msgs std-srvs turtlebot4-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Turtlebot4 Node";
license = with lib.licenses; [ asl20 ];
};
}