# Copyright 2021 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, catkin, cmake }: buildRosPackage { pname = "ros-melodic-octomap"; version = "1.9.7-r1"; src = fetchurl { url = "https://github.com/ros-gbp/octomap-release/archive/release/melodic/octomap/1.9.7-1.tar.gz"; name = "1.9.7-1.tar.gz"; sha256 = "4e0637858158938f744a53cbbfaa410f5d67d103cdd78cfc759d86321877a8fd"; }; buildType = "cmake"; propagatedBuildInputs = [ catkin ]; nativeBuildInputs = [ cmake ]; meta = { description = ''The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++. The map implementation is based on an octree. See http://octomap.github.io for details.''; license = with lib.licenses; [ bsdOriginal ]; }; }