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/melodic/h264-encoder-core/default.nix

26 lines
797 B
Nix
Raw Normal View History

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