1 { lib, stdenv, fetchFromGitHub, cmake, eigen, boost, libnabo, yaml-cpp }:
3 stdenv.mkDerivation rec {
4 pname = "libpointmatcher";
7 src = fetchFromGitHub {
8 owner = "norlab-ulaval";
9 repo = "libpointmatcher";
11 hash = "sha256-ewsU3aCFPeem1pJpqKaceMhL7SwTYOaYlcwOfMxwkSs=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ eigen boost libnabo yaml-cpp ];
18 (lib.cmakeFeature "EIGEN_INCLUDE_DIR" "${eigen}/include/eigen3")
19 (lib.cmakeBool "BUILD_TESTS" doCheck)
25 inherit (src.meta) homepage;
26 description = "\"Iterative Closest Point\" library for 2-D/3-D mapping in robotic";
27 license = licenses.bsd3;
28 platforms = platforms.linux;
29 maintainers = with maintainers; [ cryptix ];