rtabmap: make use of zed-open-capture

This commit is contained in:
marius david
2024-12-07 18:22:43 +01:00
parent 6f78b9574e
commit e7f4622dae
+34 -24
View File
@@ -1,25 +1,28 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, cmake
, opencv
, pcl
, libusb1
, eigen
, wrapQtAppsHook
, qtbase
, g2o
, ceres-solver
, octomap
, freenect
, libdc1394
, libGL
, libGLU
, vtkWithQt5
, wrapGAppsHook3
, liblapack
, xorg
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
cmake,
opencv,
pcl,
libusb1,
eigen,
wrapQtAppsHook,
qtbase,
g2o,
ceres-solver,
zed-open-capture,
hidapi,
octomap,
freenect,
libdc1394,
libGL,
libGLU,
vtkWithQt5,
wrapGAppsHook3,
liblapack,
xorg,
}:
stdenv.mkDerivation rec {
@@ -33,7 +36,12 @@ stdenv.mkDerivation rec {
hash = "sha256-y/p1uFSxVQNXO383DLGCg4eWW7iu1esqpWlyPMF3huk=";
};
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook wrapGAppsHook3 ];
nativeBuildInputs = [
cmake
pkg-config
wrapQtAppsHook
wrapGAppsHook3
];
buildInputs = [
## Required
opencv
@@ -57,6 +65,8 @@ stdenv.mkDerivation rec {
libGL
libGLU
vtkWithQt5
zed-open-capture
hidapi
];
# Disable warnings that are irrelevant to us as packagers
@@ -66,7 +76,7 @@ stdenv.mkDerivation rec {
description = "Real-Time Appearance-Based 3D Mapping";
homepage = "https://introlab.github.io/rtabmap/";
license = licenses.bsd3;
maintainers = [ ];
maintainers = with maintainers; [ marius851000 ];
platforms = with platforms; linux;
};
}