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

27 lines
1.1 KiB
Nix
Raw Permalink Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-cmake-ros-core, ament-cmake-version, ament-lint-auto, ament-lint-common, osrf-testing-tools-cpp, rcutils, rosidl-dynamic-typesupport, rosidl-runtime-c }:
buildRosPackage {
pname = "ros-rolling-rmw";
version = "7.9.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rmw-release/archive/release/rolling/rmw/7.9.0-1.tar.gz";
name = "7.9.0-1.tar.gz";
sha256 = "0787749aa880ff9ebbffe43d157318495775de757056f27e8b66e8862c2ec116";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-ros-core ament-cmake-version ];
checkInputs = [ ament-cmake-gmock ament-lint-auto ament-lint-common osrf-testing-tools-cpp ];
propagatedBuildInputs = [ rcutils rosidl-dynamic-typesupport rosidl-runtime-c ];
nativeBuildInputs = [ ament-cmake ament-cmake-ros-core ament-cmake-version ];
meta = {
description = "Contains the ROS middleware API.";
license = with lib.licenses; [ asl20 ];
};
}