# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, fmt, mqtt-client-interfaces, paho-mqtt-c, paho-mqtt-cpp, rclcpp, rclcpp-components, rcpputils, ros-environment, std-msgs }: buildRosPackage { pname = "ros-jazzy-mqtt-client"; version = "2.3.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/mqtt_client-release/archive/release/jazzy/mqtt_client/2.3.0-1.tar.gz"; name = "2.3.0-1.tar.gz"; sha256 = "e655cd7f2eab9cb23a25b47e4fe43fedeade95e3f817c654e790f1eb9a1e699c"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ]; propagatedBuildInputs = [ fmt mqtt-client-interfaces paho-mqtt-c paho-mqtt-cpp rclcpp rclcpp-components rcpputils ros-environment std-msgs ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = "Node that enables connected ROS-based devices or robots to exchange ROS messages via an MQTT broker using the MQTT protocol."; license = with lib.licenses; [ mit ]; }; }