1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-17 07:30:25 +03:00
nix-ros-overlay/melodic/video-stream-opencv/default.nix

25 lines
1.1 KiB
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, camera-info-manager, image-transport, sensor-msgs, catkin, cv-bridge, rospy, roscpp }:
buildRosPackage {
pname = "ros-melodic-video-stream-opencv";
version = "1.1.5";
src = fetchurl {
url = https://github.com/ros-drivers/video_stream_opencv-release/archive/release/melodic/video_stream_opencv/1.1.5-0.tar.gz;
sha256 = "ed2b46c502c9f63dbc62af074bbf0407d249c84f8509227ae5d2346204fe1186";
};
buildInputs = [ rospy camera-info-manager image-transport sensor-msgs cv-bridge roscpp ];
2019-03-21 00:14:59 -04:00
propagatedBuildInputs = [ rospy camera-info-manager image-transport sensor-msgs cv-bridge roscpp ];
nativeBuildInputs = [ catkin ];
2019-03-21 00:14:59 -04:00
meta = {
description = ''The video_stream_opencv package contains a node to publish a video stream (the protocols that
opencv supports are supported, including rtsp, webcams on /dev/video and video files) in ROS image topics, it supports camera info and basic image flipping (horizontal, vertical or both) capabilities, also adjusting publishing rate.'';
#license = lib.licenses.BSD;
};
}