# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, as2-core, as2-msgs, geometry-msgs, librealsense2, nav-msgs, rclcpp, sensor-msgs, std-msgs, std-srvs, tf2, tf2-ros }: buildRosPackage { pname = "ros-humble-as2-realsense-interface"; version = "1.1.2-r2"; src = fetchurl { url = "https://github.com/ros2-gbp/aerostack2-release/archive/release/humble/as2_realsense_interface/1.1.2-2.tar.gz"; name = "1.1.2-2.tar.gz"; sha256 = "ac7fd77fc0993e8ceaaabe634395bd04fdebfa0f48b1a0a90ee2ac0a7bc6f57f"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ]; checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ as2-core as2-msgs geometry-msgs librealsense2 nav-msgs rclcpp sensor-msgs std-msgs std-srvs tf2 tf2-ros ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = "Intel Realsense cameras driver"; license = with lib.licenses; [ bsd3 ]; }; }