electron-chromedriver_33: 33.3.0 -> 33.3.1
[NixPkgs.git] / pkgs / applications / video / rtabmap / default.nix
blobfc22d8988eae18b65d20a609de18dd4735b3beb2
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pkg-config,
6   cmake,
7   opencv,
8   pcl,
9   libusb1,
10   eigen,
11   wrapQtAppsHook,
12   qtbase,
13   g2o,
14   ceres-solver,
15   zed-open-capture,
16   hidapi,
17   octomap,
18   freenect,
19   libdc1394,
20   libGL,
21   libGLU,
22   vtkWithQt5,
23   wrapGAppsHook3,
24   liblapack,
25   xorg,
28 stdenv.mkDerivation rec {
29   pname = "rtabmap";
30   version = "0.21.4.1";
32   src = fetchFromGitHub {
33     owner = "introlab";
34     repo = "rtabmap";
35     tag = version;
36     hash = "sha256-y/p1uFSxVQNXO383DLGCg4eWW7iu1esqpWlyPMF3huk=";
37   };
39   nativeBuildInputs = [
40     cmake
41     pkg-config
42     wrapQtAppsHook
43     wrapGAppsHook3
44   ];
45   buildInputs = [
46     ## Required
47     opencv
48     opencv.cxxdev
49     pcl
50     liblapack
51     xorg.libSM
52     xorg.libICE
53     xorg.libXt
54     ## Optional
55     libusb1
56     eigen
57     g2o
58     ceres-solver
59     # libpointmatcher - ABI mismatch
60     octomap
61     freenect
62     libdc1394
63     # librealsense - missing includedir
64     qtbase
65     libGL
66     libGLU
67     vtkWithQt5
68     zed-open-capture
69     hidapi
70   ];
72   # Disable warnings that are irrelevant to us as packagers
73   cmakeFlags = [ "-Wno-dev" ];
75   meta = with lib; {
76     description = "Real-Time Appearance-Based 3D Mapping";
77     homepage = "https://introlab.github.io/rtabmap/";
78     license = licenses.bsd3;
79     maintainers = with maintainers; [ marius851000 ];
80     platforms = with platforms; linux;
81   };