# Copyright 2023 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-python, ament-lint-auto, ament-lint-common, diagnostic-msgs, rclcpp, rclcpp-lifecycle, rclpy, std-msgs }: buildRosPackage { pname = "ros-foxy-diagnostic-updater"; version = "3.1.2-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/diagnostics-release/archive/release/foxy/diagnostic_updater/3.1.2-1.tar.gz"; name = "3.1.2-1.tar.gz"; sha256 = "7560f1aadcc4a1ab39c1cdf0ffd17a1876d7d525af7df8132f235b01746d87b2"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ament-cmake-python ]; checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common rclcpp-lifecycle ]; propagatedBuildInputs = [ diagnostic-msgs rclcpp rclpy std-msgs ]; nativeBuildInputs = [ ament-cmake ament-cmake-python ]; meta = { 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.''; license = with lib.licenses; [ bsd3 ]; }; }