# Copyright 2025 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-clang-format, ament-cmake-ros, ament-lint-auto, ament-lint-common, cv-bridge, ffmpeg, ffmpeg-image-transport-msgs, image-transport, libogg, opencv, pkg-config, pluginlib, rclcpp, rcutils, ros-environment, sensor-msgs, std-msgs }: buildRosPackage { pname = "ros-rolling-ffmpeg-image-transport"; version = "1.0.1-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ffmpeg_image_transport-release/archive/release/rolling/ffmpeg_image_transport/1.0.1-1.tar.gz"; name = "1.0.1-1.tar.gz"; sha256 = "c06d3aa352b915c4735492b8e317bc6092f272db2f671ceda4e6bca2b6c786ca"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ament-cmake-ros pkg-config ros-environment ]; checkInputs = [ ament-cmake-clang-format ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ cv-bridge ffmpeg ffmpeg-image-transport-msgs image-transport libogg opencv opencv.cxxdev pluginlib rclcpp rcutils sensor-msgs std-msgs ]; nativeBuildInputs = [ ament-cmake ament-cmake-ros pkg-config ros-environment ]; meta = { description = "ffmpeg_image_transport provides a plugin to image_transport for transparently sending an image stream encoded with ffmpeg."; license = with lib.licenses; [ "Apache-2" ]; }; }