1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 13:40:32 +03:00
nix-ros-overlay/distros/rolling/rclcpp/default.nix

26 lines
1.8 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gen-version-h, ament-cmake-gmock, ament-cmake-google-benchmark, ament-cmake-gtest, ament-cmake-ros, ament-index-cpp, ament-lint-auto, ament-lint-common, builtin-interfaces, libstatistics-collector, mimick-vendor, performance-test-fixture, python3, rcl, rcl-interfaces, rcl-logging-interface, rcl-yaml-param-parser, rcpputils, rcutils, rmw, rmw-implementation-cmake, rosgraph-msgs, rosidl-default-generators, rosidl-dynamic-typesupport, rosidl-runtime-c, rosidl-runtime-cpp, rosidl-typesupport-c, rosidl-typesupport-cpp, statistics-msgs, test-msgs, tracetools }:
buildRosPackage {
pname = "ros-rolling-rclcpp";
version = "27.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclcpp-release/archive/release/rolling/rclcpp/27.0.0-1.tar.gz";
name = "27.0.0-1.tar.gz";
sha256 = "d2ededdc04746108bd374374b7a780071812a716e1b9b2d7402d85b6c301ffd0";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-gen-version-h ament-cmake-ros python3 ];
checkInputs = [ ament-cmake-gmock ament-cmake-google-benchmark ament-cmake-gtest ament-lint-auto ament-lint-common mimick-vendor performance-test-fixture rmw rmw-implementation-cmake rosidl-default-generators test-msgs ];
propagatedBuildInputs = [ ament-index-cpp builtin-interfaces libstatistics-collector rcl rcl-interfaces rcl-logging-interface rcl-yaml-param-parser rcpputils rcutils rmw rosgraph-msgs rosidl-dynamic-typesupport rosidl-runtime-c rosidl-runtime-cpp rosidl-typesupport-c rosidl-typesupport-cpp statistics-msgs tracetools ];
nativeBuildInputs = [ ament-cmake-gen-version-h ament-cmake-ros python3 ];
meta = {
description = ''The ROS client library in C++.'';
license = with lib.licenses; [ asl20 ];
};
}