2021-05-15 03:31:53 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "octomap";
|
2022-07-03 21:53:45 +00:00
|
|
|
version = "1.9.8";
|
2021-05-15 03:31:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OctoMap";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-07-03 21:53:45 +00:00
|
|
|
hash = "sha256-qE5i4dGugm7tR5tgDCpbla/R7hYR/PI8BzrZQ4y6Yz8=";
|
2021-05-15 03:31:53 +00:00
|
|
|
};
|
|
|
|
sourceRoot = "source/octomap";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A probabilistic, flexible, and compact 3D mapping library for robotic systems";
|
|
|
|
homepage = "https://octomap.github.io/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ lopsided98 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|