1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/rolling/diagnostic-updater/default.nix

27 lines
1.4 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 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-cmake-ros, ament-lint-auto, ament-lint-common, diagnostic-msgs, launch, launch-testing, launch-testing-ros, python3Packages, rclcpp, rclcpp-lifecycle, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-rolling-diagnostic-updater";
version = "4.4.4-r1";
src = fetchurl {
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";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ros python3Packages.pytest rclcpp-lifecycle ];
propagatedBuildInputs = [ diagnostic-msgs rclcpp rclpy std-msgs ];
nativeBuildInputs = [ ament-cmake ament-cmake-python ament-cmake-ros ];
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 ];
};
}