nix-ros-overlay/distros/noetic/octomap-server/default.nix

25 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, dynamic-reconfigure, nav-msgs, nodelet, octomap, octomap-msgs, octomap-ros, pcl-conversions, pcl-ros, roscpp, sensor-msgs, std-msgs, std-srvs, visualization-msgs }:
buildRosPackage {
pname = "ros-noetic-octomap-server";
version = "0.6.8-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/octomap_mapping-release/archive/release/noetic/octomap_server/0.6.8-1.tar.gz";
name = "0.6.8-1.tar.gz";
sha256 = "38214a586b0dcc56a71bac14ccc727c008e4a0051ce5d89841aa95168b5468d2";
};
buildType = "catkin";
buildInputs = [ catkin ];
propagatedBuildInputs = [ dynamic-reconfigure nav-msgs nodelet octomap octomap-msgs octomap-ros pcl-conversions pcl-ros roscpp sensor-msgs std-msgs std-srvs visualization-msgs ];
nativeBuildInputs = [ catkin ];
meta = {
description = "octomap_server loads a 3D map (as Octree-based OctoMap) and distributes it to other nodes in a compact binary format. It also allows to incrementally build 3D OctoMaps, and provides map saving in the node octomap_saver.";
license = with lib.licenses; [ bsdOriginal ];
};
}