nix-ros-overlay/distros/foxy/image-geometry/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

29 lines
1.2 KiB
Nix

# Copyright 2023 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, opencv, sensor-msgs }:
buildRosPackage {
pname = "ros-foxy-image-geometry";
version = "3.0.7-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/vision_opencv-release/archive/release/foxy/image_geometry/3.0.7-1.tar.gz";
name = "3.0.7-1.tar.gz";
sha256 = "323dc42a166ad381774c4608fb561ed5397388a5c3da2bad47028415089fd8d6";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-python ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ];
propagatedBuildInputs = [ opencv 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; [ asl20 bsdOriginal ];
};
}