1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/humble/behaviortree-cpp/default.nix

26 lines
930 B
Nix

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