2019-12-09 05:16:46 +00:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-12-09 05:16:46 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:14:51 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-ros, ament-index-python, ament-lint-auto, ament-lint-common, boost, opencv3, python-cmake-module, python3Packages, sensor-msgs }:
|
2019-12-09 05:16:46 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-eloquent-cv-bridge";
|
2020-01-24 12:40:24 +00:00
|
|
|
version = "2.1.4-r1";
|
2019-12-09 05:16:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-24 12:40:24 +00:00
|
|
|
url = "https://github.com/ros2-gbp/vision_opencv-release/archive/release/eloquent/cv_bridge/2.1.4-1.tar.gz";
|
|
|
|
name = "2.1.4-1.tar.gz";
|
|
|
|
sha256 = "c8b997e4e437cf2341fd4cea03dd14ac0f8f22464e1949798bf2ebc04c58d48d";
|
2019-12-09 05:16:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2019-12-09 23:14:51 -05:00
|
|
|
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common python3Packages.opencv3 ];
|
|
|
|
propagatedBuildInputs = [ ament-index-python boost opencv3 python3Packages.numpy sensor-msgs ];
|
2019-12-09 05:16:46 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake-ros python-cmake-module ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This contains CvBridge, which converts between ROS2
|
|
|
|
Image messages and OpenCV images.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|