nix-ros-overlay/distros/humble/nav2-collision-monitor/default.nix

26 lines
1.1 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-lint-auto, ament-lint-common, geometry-msgs, nav2-common, nav2-costmap-2d, nav2-util, rclcpp, rclcpp-components, sensor-msgs, tf2, tf2-geometry-msgs, tf2-ros }:
buildRosPackage {
pname = "ros-humble-nav2-collision-monitor";
version = "1.1.18-r1";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/humble/nav2_collision_monitor/1.1.18-1.tar.gz";
name = "1.1.18-1.tar.gz";
sha256 = "d1ffe0349b4faf96646f291e628ffe9c92f2366b66e84da034fd88295a2c68dc";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ geometry-msgs nav2-common nav2-costmap-2d nav2-util rclcpp rclcpp-components sensor-msgs tf2 tf2-geometry-msgs tf2-ros ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Collision Monitor";
license = with lib.licenses; [ asl20 ];
};
}