nix-ros-overlay/distros/humble/diagnostic-aggregator/default.nix

26 lines
1.2 KiB
Nix

# 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-lint-auto, ament-lint-common, diagnostic-msgs, launch-pytest, launch-testing-ament-cmake, launch-testing-ros, pluginlib, rcl-interfaces, rclcpp, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-humble-diagnostic-aggregator";
version = "4.0.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/diagnostics-release/archive/release/humble/diagnostic_aggregator/4.0.4-1.tar.gz";
name = "4.0.4-1.tar.gz";
sha256 = "e5c8e6900cbc62dc8672b6cce1ff759f574a76710b9305d81d32d83d3aee39a0";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-python diagnostic-msgs pluginlib rcl-interfaces rclcpp std-msgs ];
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common launch-pytest launch-testing-ament-cmake launch-testing-ros ];
propagatedBuildInputs = [ rclpy ];
nativeBuildInputs = [ ament-cmake ament-cmake-python ];
meta = {
description = "diagnostic_aggregator";
license = with lib.licenses; [ bsd3 ];
};
}