mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
25 lines
1.4 KiB
Nix
25 lines
1.4 KiB
Nix
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, rosidl-generator-cpp, ament-cmake, ament-lint-common, fastrtps, rmw-fastrtps-shared-cpp, rosidl-cmake, rosidl-typesupport-fastrtps-c, ament-cmake-ros, rosidl-typesupport-fastrtps-cpp, fastcdr, ament-lint-auto, rcutils, fastrtps-cmake-module, rmw, rosidl-generator-c }:
|
|
buildRosPackage {
|
|
pname = "ros-crystal-rmw-fastrtps-cpp";
|
|
version = "0.6.2";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/ros2-gbp/rmw_fastrtps-release/archive/release/crystal/rmw_fastrtps_cpp/0.6.2-0.tar.gz;
|
|
sha256 = "309efba86d62ecbb153d05b71b10b362ab9f89b52f4b324a885c861000cc1f01";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ rosidl-generator-cpp fastrtps rmw-fastrtps-shared-cpp rosidl-typesupport-fastrtps-c rosidl-typesupport-fastrtps-cpp fastcdr rcutils fastrtps-cmake-module rmw rosidl-generator-c ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ rosidl-generator-cpp ament-cmake fastrtps rmw-fastrtps-shared-cpp rosidl-cmake rosidl-typesupport-fastrtps-c rosidl-typesupport-fastrtps-cpp fastcdr rcutils fastrtps-cmake-module rmw rosidl-generator-c ];
|
|
nativeBuildInputs = [ rosidl-cmake fastrtps-cmake-module ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = ''Implement the ROS middleware interface using eProsima FastRTPS static code generation in C++.'';
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|