From e7f4622dae8bbdda34cd0f6952b39693db47d1d7 Mon Sep 17 00:00:00 2001 From: marius david Date: Sat, 7 Dec 2024 16:57:33 +0100 Subject: [PATCH] rtabmap: make use of zed-open-capture --- pkgs/applications/video/rtabmap/default.nix | 58 ++++++++++++--------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/pkgs/applications/video/rtabmap/default.nix b/pkgs/applications/video/rtabmap/default.nix index 6565a4097587..45818f48166e 100644 --- a/pkgs/applications/video/rtabmap/default.nix +++ b/pkgs/applications/video/rtabmap/default.nix @@ -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; }; }