nix-ros-overlay/distros/humble/ffmpeg-image-transport-tools/default.nix

26 lines
1.2 KiB
Nix

# 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-encoder-decoder, ffmpeg-image-transport-msgs, rclcpp, ros-environment, rosbag2-cpp, rosbag2-storage, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-ffmpeg-image-transport-tools";
version = "2.1.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/ffmpeg_image_transport_tools-release/archive/release/humble/ffmpeg_image_transport_tools/2.1.1-1.tar.gz";
name = "2.1.1-1.tar.gz";
sha256 = "cb75dd6f76d93c647792cdf7c76dfc4fee9b990c6dfd2d1e5978de2378e27dff";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-ros ros-environment ];
checkInputs = [ ament-cmake-clang-format ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ cv-bridge ffmpeg-encoder-decoder ffmpeg-image-transport-msgs rclcpp rosbag2-cpp rosbag2-storage sensor-msgs ];
nativeBuildInputs = [ ament-cmake ament-cmake-ros ros-environment ];
meta = {
description = "tools for processing ffmpeg_image_transport_msgs";
license = with lib.licenses; [ "Apache-2" ];
};
}