Unverified Commit 3eee36cb authored by ckie's avatar ckie Committed by GitHub
Browse files

Merge pull request #294674 from hacker1024/update/rtabmap

parents 132580d7 6b3ef3b4
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -27,28 +27,15 @@

stdenv.mkDerivation rec {
  pname = "rtabmap";
  version = "0.21.0";
  version = "0.21.4";

  src = fetchFromGitHub {
    owner = "introlab";
    repo = "rtabmap";
    rev = "refs/tags/${version}";
    hash = "sha256-1xb8O3VrErldid2OgAUMG28mSUO7QBUsPuSz8p03tSI";
    hash = "sha256-HrIATYRuhFfTlO4oTRZo7CM30LFVyatZJON31Fe4HTQ=";
  };

  patches = [
    # Fix build with g2o 20230806
    (fetchpatch {
      url = "https://github.com/introlab/rtabmap/commit/85cc6fe3c742855ad16c8442895e12dbb10b6e8b.patch";
      hash = "sha256-P6GkYKCNwe9dgZdgF/oEhgjA3bJnwXFWJCPoyIknQCo=";
    })
    # Fix typo in previous patch
    (fetchpatch {
      url = "https://github.com/introlab/rtabmap/commit/c4e94bcdc31b859c1049724dbb7671e4597d86de.patch";
      hash = "sha256-1btkV4/y+bnF3xEVqlUy/9F6BoANeTOEJjZLmRzG3iA=";
    })
  ];

  nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook wrapGAppsHook ];
  buildInputs = [
    ## Required