1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-20 14:18:39 +03:00
nix-ros-overlay/dashing/h264-encoder-core/default.nix

27 lines
882 B
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gmock, ament-cmake-gtest, ffmpeg, aws-common, cmake }:
buildRosPackage {
pname = "ros-dashing-h264-encoder-core";
version = "2.0.3-r1";
src = fetchurl {
url = "https://github.com/aws-gbp/h264_encoder_core-release/archive/release/dashing/h264_encoder_core/2.0.3-1.tar.gz";
name = "2.0.3-1.tar.gz";
sha256 = "ef156a1ea7c88eec7b3fc3d3a01d1485f80056881e517e7d9c6b7382fbdf01f9";
};
buildType = "cmake";
buildInputs = [ aws-common ffmpeg ];
checkInputs = [ ament-cmake-gtest ament-cmake-gmock ];
propagatedBuildInputs = [ aws-common ffmpeg ];
nativeBuildInputs = [ cmake ];
meta = {
description = ''Common base code for ROS1/ROS2 H264 encoder node'';
license = with lib.licenses; [ lgpl21 ];
};
}