# Copyright 2023 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-foxy-serial-driver"; version = "1.0.0-r1"; src = fetchurl { url = "https://github.com/ros-drivers-gbp/transport_drivers-release/archive/release/foxy/serial_driver/1.0.0-1.tar.gz"; name = "1.0.0-1.tar.gz"; sha256 = "156514da3368035e73c93ec4f3437a8adee80b7dc98fdfef6932ba4d2b819d9d"; }; 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 ]; }; }