# Copyright 2024 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, io-context, rclcpp, rclcpp-components, rclcpp-lifecycle, std-msgs }: buildRosPackage { pname = "ros-rolling-serial-driver"; version = "1.2.0-r3"; src = fetchurl { url = "https://github.com/ros2-gbp/transport_drivers-release/archive/release/rolling/serial_driver/1.2.0-3.tar.gz"; name = "1.2.0-3.tar.gz"; sha256 = "7606901322953d9e4db103e5821a5cefd7720548a200b9f52ca58ca3624db0b4"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-auto asio-cmake-module ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ asio io-context rclcpp rclcpp-components rclcpp-lifecycle std-msgs ]; nativeBuildInputs = [ ament-cmake-auto asio-cmake-module ]; meta = { description = "A template class and associated utilities which encapsulate basic reading from serial ports"; license = with lib.licenses; [ asl20 ]; }; }