1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-19 13:48:39 +03:00
nix-ros-overlay/distros/rolling/tlsf-cpp/default.nix

26 lines
994 B
Nix
Raw Normal View History

# Copyright 2023 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, rclcpp, rmw, rmw-implementation-cmake, std-msgs, tlsf }:
buildRosPackage {
pname = "ros-rolling-tlsf-cpp";
version = "0.17.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/realtime_support-release/archive/release/rolling/tlsf_cpp/0.17.0-1.tar.gz";
name = "0.17.0-1.tar.gz";
sha256 = "d2039712459b4cb30faa139e7370cc77739aca49a7e0fb32b0ea32f40fc5679d";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common rmw-implementation-cmake ];
propagatedBuildInputs = [ ament-cmake rclcpp rmw std-msgs tlsf ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''C++ stdlib-compatible wrapper around tlsf allocator and ROS2 examples'';
license = with lib.licenses; [ "LGPL-2.1-only" asl20 ];
};
}