nix-ros-overlay/distros/humble/web-video-server/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-copyright, ament-cmake-cpplint, ament-cmake-lint-cmake, ament-cmake-ros, ament-cmake-uncrustify, ament-cmake-xmllint, ament-lint-auto, async-web-server-cpp, cv-bridge, ffmpeg, image-transport, rclcpp, ros-environment, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-web-video-server";
version = "2.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/web_video_server-release/archive/release/humble/web_video_server/2.0.1-1.tar.gz";
name = "2.0.1-1.tar.gz";
sha256 = "a154bb71f120f277b17c0a7377985183951eeb5a9bd1623f7129f37955cf942a";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-cmake-copyright ament-cmake-cpplint ament-cmake-lint-cmake ament-cmake-uncrustify ament-cmake-xmllint ament-lint-auto ros-environment ];
propagatedBuildInputs = [ async-web-server-cpp cv-bridge ffmpeg image-transport rclcpp sensor-msgs ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "HTTP Streaming of ROS Image Topics in Multiple Formats";
license = with lib.licenses; [ bsdOriginal ];
};
}