1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/iron/nav2-behavior-tree/default.nix

26 lines
1.3 KiB
Nix

# Copyright 2024 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, behaviortree-cpp-v3, builtin-interfaces, geometry-msgs, lifecycle-msgs, nav-msgs, nav2-common, nav2-msgs, nav2-util, rclcpp, rclcpp-action, rclcpp-lifecycle, sensor-msgs, std-msgs, std-srvs, test-msgs, tf2, tf2-geometry-msgs, tf2-ros }:
buildRosPackage {
pname = "ros-iron-nav2-behavior-tree";
version = "1.2.5-r2";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/iron/nav2_behavior_tree/1.2.5-2.tar.gz";
name = "1.2.5-2.tar.gz";
sha256 = "64faa9db498e6d2b30f6a2c4123006d7d29a01d9674d85856a571f7387c8cb2d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake nav2-common ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common test-msgs ];
propagatedBuildInputs = [ behaviortree-cpp-v3 builtin-interfaces geometry-msgs lifecycle-msgs nav-msgs nav2-msgs nav2-util rclcpp rclcpp-action rclcpp-lifecycle sensor-msgs std-msgs std-srvs tf2 tf2-geometry-msgs tf2-ros ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''TODO'';
license = with lib.licenses; [ asl20 ];
};
}