2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2025-05-16 13:35:43 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, rclcpp, rcpputils, rmw, rmw-implementation-cmake, std-msgs, tlsf }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-tlsf-cpp";
|
2025-05-16 13:35:43 +00:00
|
|
|
version = "0.19.0-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-05-16 13:35:43 +00:00
|
|
|
url = "https://github.com/ros2-gbp/realtime_support-release/archive/release/rolling/tlsf_cpp/0.19.0-1.tar.gz";
|
|
|
|
name = "0.19.0-1.tar.gz";
|
|
|
|
sha256 = "9eb7e0f2ad9d6515062d70740695177cb2d3f212a1cd8ed9b1d428e3a12ac3ee";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2025-05-16 13:35:43 +00:00
|
|
|
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common rcpputils rmw-implementation-cmake ];
|
2022-12-09 19:20:15 -05:00
|
|
|
propagatedBuildInputs = [ ament-cmake rclcpp rmw std-msgs tlsf ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "C++ stdlib-compatible wrapper around tlsf allocator and ROS2 examples";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ "LGPL-2.1-only" asl20 ];
|
|
|
|
};
|
|
|
|
}
|