1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/rolling/depth-image-proc/default.nix

30 lines
1.4 KiB
Nix
Raw Normal View History

# Copyright 2024 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-transport, message-filters, opencv, rclcpp, rclcpp-components, sensor-msgs, stereo-msgs, tf2, tf2-eigen, tf2-ros }:
buildRosPackage {
pname = "ros-rolling-depth-image-proc";
version = "3.0.1-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/image_pipeline-release/archive/release/rolling/depth_image_proc/3.0.1-2.tar.gz";
name = "3.0.1-2.tar.gz";
sha256 = "bc2486a3f69ea6c50a6b5d106c403fe1bfff28211d0bd8b4ffaefc638f81f866";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-auto class-loader ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ cv-bridge image-geometry 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 ];
};
}