Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
46 lines
860 B
Nix
46 lines
860 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
eigen,
|
|
boost,
|
|
libnabo,
|
|
yaml-cpp,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libpointmatcher";
|
|
version = "1.4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "norlab-ulaval";
|
|
repo = "libpointmatcher";
|
|
rev = version;
|
|
hash = "sha256-OkfWdim0JDKiBx5spYpkMyFrLQP3AMWBVDpzmFwqNFM=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
eigen
|
|
boost
|
|
libnabo
|
|
yaml-cpp
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeFeature "EIGEN_INCLUDE_DIR" "${eigen}/include/eigen3")
|
|
(lib.cmakeBool "BUILD_TESTS" doCheck)
|
|
];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "\"Iterative Closest Point\" library for 2-D/3-D mapping in robotic";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ cryptix ];
|
|
};
|
|
}
|