nix-ros-overlay/distros/jazzy/nav2-map-server/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-cmake-pytest, ament-lint-auto, ament-lint-common, graphicsmagick, launch, launch-ros, launch-testing, nav-msgs, nav2-common, nav2-msgs, nav2-util, rclcpp, rclcpp-lifecycle, std-msgs, tf2, yaml-cpp-vendor }:
buildRosPackage {
pname = "ros-jazzy-nav2-map-server";
version = "1.3.6-r1";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/jazzy/nav2_map_server/1.3.6-1.tar.gz";
name = "1.3.6-1.tar.gz";
sha256 = "63d5afcab3039421fedcfbb2797fdccbcefe7e16d95ca2e6bb0f05553db780f2";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake nav2-common ];
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing ];
propagatedBuildInputs = [ graphicsmagick launch-ros launch-testing nav-msgs nav2-msgs nav2-util rclcpp rclcpp-lifecycle std-msgs tf2 yaml-cpp-vendor ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Refactored map server for ROS2 Navigation";
license = with lib.licenses; [ asl20 bsd3 ];
};
}