1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/melodic/map-server/default.nix

25 lines
1.1 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, SDL, SDL_image, bullet, catkin, libyamlcpp, nav-msgs, roscpp, rospy, rostest, rosunit, tf2 }:
buildRosPackage {
pname = "ros-melodic-map-server";
version = "1.16.7-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/navigation-release/archive/release/melodic/map_server/1.16.7-1.tar.gz";
name = "1.16.7-1.tar.gz";
sha256 = "57c651e27c64c1edab5808e206dbc0e16c702161f73ee895da6efd96288e7234";
};
buildType = "catkin";
checkInputs = [ rospy rostest rosunit ];
propagatedBuildInputs = [ SDL SDL_image bullet libyamlcpp nav-msgs roscpp tf2 ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''map_server provides the <tt>map_server</tt> ROS <a href="http://www.ros.org/wiki/Nodes">Node</a>, which offers map data as a ROS <a href="http://www.ros.org/wiki/Services">Service</a>. It also provides the <tt>map_saver</tt> command-line utility, which allows dynamically generated maps to be saved to file.'';
license = with lib.licenses; [ bsdOriginal ];
};
}