1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/rolling/io-context/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-cmake-gtest, ament-lint-auto, ament-lint-common, asio, asio-cmake-module, rclcpp, std-msgs, udp-msgs }:
buildRosPackage {
pname = "ros-rolling-io-context";
version = "1.2.0-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/transport_drivers-release/archive/release/rolling/io_context/1.2.0-3.tar.gz";
name = "1.2.0-3.tar.gz";
sha256 = "88ad4817444876ed9610d26a273031d39570d74fb55e0277717c05c93c941ec1";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto asio-cmake-module ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ asio rclcpp std-msgs udp-msgs ];
nativeBuildInputs = [ ament-cmake-auto asio-cmake-module ];
meta = {
description = "A library to write Synchronous and Asynchronous networking applications";
license = with lib.licenses; [ asl20 ];
};
}