mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
28 lines
1.1 KiB
Nix
28 lines
1.1 KiB
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-python, ament-cmake-ros, opencv3, sensor-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-image-geometry";
|
|
version = "2.2.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/vision_opencv-release/archive/release/foxy/image_geometry/2.2.1-1.tar.gz";
|
|
name = "2.2.1-1.tar.gz";
|
|
sha256 = "d0937df243548f57c6c68f3f753a0f4e72c9371d1ad6b772ad43664dd4a04156";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ];
|
|
propagatedBuildInputs = [ opencv3 sensor-msgs ];
|
|
nativeBuildInputs = [ ament-cmake-python ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = ''`image_geometry` contains C++ and Python libraries for interpreting images
|
|
geometrically. It interfaces the calibration parameters in sensor_msgs/CameraInfo
|
|
messages with OpenCV functions such as image rectification, much as cv_bridge
|
|
interfaces ROS sensor_msgs/Image with OpenCV data types.'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|