1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-16 07:00:56 +03:00
nix-ros-overlay/melodic/opencv-apps/default.nix

30 lines
1.9 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, cv-bridge, rosservice, image-view, image-transport, message-generation, message-runtime, image-proc, roslaunch, std-srvs, rosbag, catkin, std-msgs, nodelet, roscpp, compressed-image-transport, sensor-msgs, rostest, rostopic, dynamic-reconfigure, topic-tools }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-opencv-apps";
version = "2.0.1-r1";
2019-03-21 00:14:59 -04:00
src = fetchurl {
url = https://github.com/ros-perception/opencv_apps-release/archive/release/melodic/opencv_apps/2.0.1-1.tar.gz;
sha256 = "11489debf5d3b3dc194472f483d67857db62f76665f6785ad4f55882c4e4d3dc";
2019-03-21 00:14:59 -04:00
};
buildInputs = [ std-srvs image-transport sensor-msgs cv-bridge roscpp message-generation dynamic-reconfigure std-msgs nodelet ];
checkInputs = [ image-proc rosbag rosservice rostest rostopic image-view topic-tools roslaunch compressed-image-transport ];
propagatedBuildInputs = [ std-srvs image-transport sensor-msgs cv-bridge roscpp message-runtime dynamic-reconfigure std-msgs nodelet ];
nativeBuildInputs = [ catkin ];
2019-03-21 00:14:59 -04:00
meta = {
description = ''<p>opencv_apps provides various nodes that run internally OpenCV's functionalities and publish the result as ROS topics. With opencv_apps, you can skip writing OpenCV application codes for a lot of its functionalities by simply running a launch file that corresponds to OpenCV's functionality you want.</p>
<ul>
<li>You can have a look at all launch files provided here (be sure to choose the correct branch. As of Sept. 2016 indigo branch is used for ROS Indigo, Jade, and Kinetic distros).</li>
<li>Some of the features covered by opencv_apps are explained in <a href="http://wiki.ros.org/opencv_apps">the wiki</a>.</li>
</ul>
<p>The most of code is originally taken from https://github.com/Itseez/opencv/tree/master/samples/cpp</p>'';
#license = lib.licenses.BSD;
};
}