nix-ros-overlay/distros/humble/behaviortree-cpp/default.nix

26 lines
943 B
Nix

# 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-humble-behaviortree-cpp";
version = "4.7.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/behaviortree_cpp_v4-release/archive/release/humble/behaviortree_cpp/4.7.1-1.tar.gz";
name = "4.7.1-1.tar.gz";
sha256 = "59a35d439cdafa1b5d4d06faa05b83c880d17303034b84339dc08a30667bc906";
};
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 ];
};
}