2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2025-04-04 13:36:01 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-python, ament-cmake-ros, ament-lint-auto, ament-lint-common, diagnostic-msgs, launch, launch-testing, launch-testing-ros, python3Packages, rclcpp, rclcpp-lifecycle, rclpy, std-msgs }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-diagnostic-updater";
|
2025-05-16 13:35:43 +00:00
|
|
|
version = "4.4.4-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-05-16 13:35:43 +00:00
|
|
|
url = "https://github.com/ros2-gbp/diagnostics-release/archive/release/rolling/diagnostic_updater/4.4.4-1.tar.gz";
|
|
|
|
name = "4.4.4-1.tar.gz";
|
|
|
|
sha256 = "dc5f37c649725cdde6cdce0d223cd9d09c9e1a3c20c77b056d5ad4d935e9b4c5";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2025-04-04 13:36:01 +00:00
|
|
|
buildInputs = [ ament-cmake ament-cmake-python ament-cmake-ros ];
|
2025-01-03 13:42:37 +00:00
|
|
|
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ros python3Packages.pytest rclcpp-lifecycle ];
|
2022-12-09 19:20:15 -05:00
|
|
|
propagatedBuildInputs = [ diagnostic-msgs rclcpp rclpy std-msgs ];
|
2025-04-04 13:36:01 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-python ament-cmake-ros ];
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "diagnostic_updater contains tools for easily updating diagnostics. it is commonly used in device drivers to keep track of the status of output topics, device status, etc.";
|
2023-02-10 13:32:23 +00:00
|
|
|
license = with lib.licenses; [ bsd3 ];
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
}
|