1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/humble/rclcpp/default.nix

26 lines
1.6 KiB
Nix
Raw Normal View History

# Copyright 2022 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-runtime-cpp, rosidl-typesupport-c, rosidl-typesupport-cpp, statistics-msgs, test-msgs, tracetools }:
buildRosPackage {
pname = "ros-humble-rclcpp";
version = "16.0.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclcpp-release/archive/release/humble/rclcpp/16.0.1-2.tar.gz";
name = "16.0.1-2.tar.gz";
sha256 = "9b9f9a67bb06f75f52f14a7e40a7dd983efebc516621b693e4363480539d92ff";
};
buildType = "ament_cmake";
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-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 ];
};
}