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

26 lines
1.2 KiB
Nix

# Copyright 2025 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.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmw_implementation-release/archive/release/rolling/rmw_implementation/3.0.4-1.tar.gz";
name = "3.0.4-1.tar.gz";
sha256 = "7be0544c9456cc2d178a22cb22e2fdb692c6bdaaea52f5a94df91ef8e3680a1e";
};
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 ];
};
}