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
2023-06-19 17:15:23 -04:00

26 lines
1.7 KiB
Nix

# Copyright 2023 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-yaml-param-parser, rcpputils, rcutils, rmw, rmw-implementation-cmake, rosgraph-msgs, rosidl-default-generators, rosidl-dynamic-typesupport, rosidl-runtime-cpp, rosidl-typesupport-c, rosidl-typesupport-cpp, statistics-msgs, test-msgs, tracetools }:
buildRosPackage {
pname = "ros-rolling-rclcpp";
version = "21.3.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclcpp-release/archive/release/rolling/rclcpp/21.3.0-1.tar.gz";
name = "21.3.0-1.tar.gz";
sha256 = "13fa9f4588cf111953c0038d5f62b62272a44cf166a896e03cdb8d93e5dbac40";
};
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-yaml-param-parser rcpputils rcutils rmw rosgraph-msgs rosidl-dynamic-typesupport 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 ];
};
}