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

30 lines
1.2 KiB
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2021 Open Source Robotics Foundation
2019-03-21 00:14:59 -04:00
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, boost, catkin, cmake-modules, cv-bridge, eigen-conversions, image-geometry, image-transport, message-filters, nodelet, rostest, sensor-msgs, stereo-msgs, tf2, tf2-ros }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-depth-image-proc";
version = "1.15.0-r1";
2019-03-21 00:14:59 -04:00
src = fetchurl {
url = "https://github.com/ros-gbp/image_pipeline-release/archive/release/melodic/depth_image_proc/1.15.0-1.tar.gz";
name = "1.15.0-1.tar.gz";
sha256 = "dd1e8a0b66ed4ad80d8f4eb4cbeaa315ba8f1c6d3d5d096edf9b55153bd9f90a";
2019-03-21 00:14:59 -04:00
};
buildType = "catkin";
buildInputs = [ cmake-modules message-filters sensor-msgs stereo-msgs ];
2019-03-21 00:14:59 -04:00
checkInputs = [ rostest ];
propagatedBuildInputs = [ boost cv-bridge eigen-conversions image-geometry image-transport nodelet tf2 tf2-ros ];
nativeBuildInputs = [ catkin ];
2019-03-21 00:14:59 -04:00
meta = {
description = ''Contains nodelets 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 ];
2019-03-21 00:14:59 -04:00
};
}