1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/foxy/rmw-fastrtps-cpp/default.nix

26 lines
1.4 KiB
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, fastcdr, fastrtps, fastrtps-cmake-module, osrf-testing-tools-cpp, rcpputils, rcutils, rmw, rmw-dds-common, rmw-fastrtps-shared-cpp, rosidl-cmake, rosidl-runtime-c, rosidl-runtime-cpp, rosidl-typesupport-fastrtps-c, rosidl-typesupport-fastrtps-cpp, test-msgs }:
buildRosPackage {
pname = "ros-foxy-rmw-fastrtps-cpp";
version = "1.2.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmw_fastrtps-release/archive/release/foxy/rmw_fastrtps_cpp/1.2.5-1.tar.gz";
name = "1.2.5-1.tar.gz";
sha256 = "e89f29899cb5e39410dcb683b8420494a3e691aaeb87b7d1ffe25ddf15640739";
};
buildType = "ament_cmake";
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common osrf-testing-tools-cpp test-msgs ];
propagatedBuildInputs = [ ament-cmake fastcdr fastrtps fastrtps-cmake-module rcpputils rcutils rmw rmw-dds-common rmw-fastrtps-shared-cpp rosidl-cmake rosidl-runtime-c rosidl-runtime-cpp rosidl-typesupport-fastrtps-c rosidl-typesupport-fastrtps-cpp ];
nativeBuildInputs = [ ament-cmake-ros fastrtps-cmake-module rosidl-cmake ];
meta = {
description = ''Implement the ROS middleware interface using eProsima FastRTPS static code generation in C++.'';
license = with lib.licenses; [ asl20 ];
};
}