# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-index-cpp, cppzmq, git, rclcpp, ros-environment, sqlite }: buildRosPackage { pname = "ros-rolling-behaviortree-cpp"; version = "4.7.1-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/behaviortree_cpp_v4-release/archive/release/rolling/behaviortree_cpp/4.7.1-1.tar.gz"; name = "4.7.1-1.tar.gz"; sha256 = "0e654b4e08d61383ce48ff40dcf5c05129d2e0b99a07f8a8187446d6e7ede773"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake git ros-environment ]; checkInputs = [ ament-cmake-gtest ]; propagatedBuildInputs = [ ament-index-cpp cppzmq rclcpp sqlite ]; nativeBuildInputs = [ ament-cmake git ]; meta = { description = "This package provides the Behavior Trees core library."; license = with lib.licenses; [ mit ]; }; }