mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 17:54:49 +03:00
27 lines
1.4 KiB
Nix
27 lines
1.4 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, ffmpeg-image-transport-msgs, image-transport, libogg, opencv, pkg-config, pluginlib, rclcpp, rcutils, ros-environment, sensor-msgs, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-ffmpeg-image-transport";
|
|
version = "1.0.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ffmpeg_image_transport-release/archive/release/humble/ffmpeg_image_transport/1.0.2-1.tar.gz";
|
|
name = "1.0.2-1.tar.gz";
|
|
sha256 = "c72123a736ffe01f3de87df7f507ad0797813968258fe0754d70797cf28f3c6e";
|
|
};
|
|
|
|
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" ];
|
|
};
|
|
}
|