nix-ros-overlay/distros/jazzy/depth-image-proc/default.nix

29 lines
1.4 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-auto, ament-lint-auto, ament-lint-common, class-loader, cv-bridge, image-geometry, image-proc, image-transport, message-filters, opencv, rclcpp, rclcpp-components, sensor-msgs, stereo-msgs, tf2, tf2-eigen, tf2-ros }:
buildRosPackage {
pname = "ros-jazzy-depth-image-proc";
version = "5.0.9-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/image_pipeline-release/archive/release/jazzy/depth_image_proc/5.0.9-1.tar.gz";
name = "5.0.9-1.tar.gz";
sha256 = "a57945d363485655768e39067e1d6ad5ff49b99b46cdd352ed2c2491938e9820";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto class-loader ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ cv-bridge image-geometry image-proc image-transport message-filters opencv opencv.cxxdev rclcpp rclcpp-components sensor-msgs stereo-msgs tf2 tf2-eigen tf2-ros ];
nativeBuildInputs = [ ament-cmake-auto ];
meta = {
description = "Contains components for processing depth images such as those
produced by OpenNI camera. Functions include creating disparity
images and point clouds, as well as registering (reprojecting)
a depth image into another camera frame.";
license = with lib.licenses; [ bsdOriginal ];
};
}