2023-09-15 13:13:19 +00:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2023-09-15 13:13:19 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-09-22 13:12:15 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, fmt, mqtt-client-interfaces, paho-mqtt-c, paho-mqtt-cpp, rclcpp, rclcpp-components, rcpputils, ros-environment, std-msgs }:
|
2023-09-15 13:13:19 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-mqtt-client";
|
2024-03-22 13:05:17 +00:00
|
|
|
version = "2.2.1-r1";
|
2023-09-15 13:13:19 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-22 13:05:17 +00:00
|
|
|
url = "https://github.com/ros2-gbp/mqtt_client-release/archive/release/humble/mqtt_client/2.2.1-1.tar.gz";
|
|
|
|
name = "2.2.1-1.tar.gz";
|
|
|
|
sha256 = "280b4ea55755597deaf1d115e68a9c6b2223765b6758fe90f5662f6ca910200d";
|
2023-09-15 13:13:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake ];
|
2023-09-22 13:12:15 +00:00
|
|
|
propagatedBuildInputs = [ fmt mqtt-client-interfaces paho-mqtt-c paho-mqtt-cpp rclcpp rclcpp-components rcpputils ros-environment std-msgs ];
|
2023-09-15 13:13:19 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|