nix-ros-overlay/distros/rolling/rmw-implementation/default.nix

27 lines
1.2 KiB
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-index-cpp, ament-lint-auto, ament-lint-common, performance-test-fixture, rcpputils, rcutils, rmw, rmw-connextdds, rmw-cyclonedds-cpp, rmw-fastrtps-cpp, rmw-fastrtps-dynamic-cpp, rmw-implementation-cmake }:
buildRosPackage {
pname = "ros-rolling-rmw-implementation";
version = "3.0.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmw_implementation-release/archive/release/rolling/rmw_implementation/3.0.3-1.tar.gz";
name = "3.0.3-1.tar.gz";
sha256 = "bbbedb78b897909986349648d85ee9738e46bcbdb422c83ac164bf17e646236e";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake rmw rmw-connextdds rmw-cyclonedds-cpp rmw-fastrtps-cpp rmw-fastrtps-dynamic-cpp ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common performance-test-fixture ];
propagatedBuildInputs = [ ament-index-cpp rcpputils rcutils rmw-implementation-cmake ];
nativeBuildInputs = [ ament-cmake rmw-implementation-cmake ];
meta = {
description = "Proxy implementation of the ROS 2 Middleware Interface.";
license = with lib.licenses; [ asl20 ];
};
}