1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/jazzy/web-video-server/default.nix

27 lines
1.2 KiB
Nix
Raw Normal View History

# 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, sensor-msgs }:
buildRosPackage {
pname = "ros-jazzy-web-video-server";
version = "2.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/web_video_server-release/archive/release/jazzy/web_video_server/2.0.0-1.tar.gz";
name = "2.0.0-1.tar.gz";
sha256 = "2a690b02833dd0fe871e4a2d612e701058ba3f6661af2b294475495bf97402b0";
};
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 ];
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 ];
};
}