mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 19:24:50 +03:00
27 lines
1.2 KiB
Nix
27 lines
1.2 KiB
Nix
![]() |
|
||
|
# Copyright 2024 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-clang-format, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, cv-bridge, ffmpeg, opencv, pkg-config, rclcpp, ros-environment, sensor-msgs, std-msgs }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-jazzy-ffmpeg-encoder-decoder";
|
||
|
version = "1.0.1-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/ffmpeg_encoder_decoder-release/archive/release/jazzy/ffmpeg_encoder_decoder/1.0.1-1.tar.gz";
|
||
|
name = "1.0.1-1.tar.gz";
|
||
|
sha256 = "6cd96058c1d501a69c80ae369c2f7993a1bc5a1422aae6d7444194d67030f9d9";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
buildInputs = [ ament-cmake ament-cmake-ros pkg-config ros-environment ];
|
||
|
checkInputs = [ ament-cmake-clang-format ament-cmake-gtest ament-lint-auto ament-lint-common ];
|
||
|
propagatedBuildInputs = [ cv-bridge ffmpeg opencv opencv.cxxdev rclcpp sensor-msgs std-msgs ];
|
||
|
nativeBuildInputs = [ ament-cmake ament-cmake-ros pkg-config ros-environment ];
|
||
|
|
||
|
meta = {
|
||
|
description = "ROS2 convenience wrapper around ffmpeg for encoding/decoding";
|
||
|
license = with lib.licenses; [ asl20 ];
|
||
|
};
|
||
|
}
|