nix-ros-overlay/distros/humble/nav2-controller/default.nix

26 lines
1.1 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, angles, nav-2d-msgs, nav-2d-utils, nav2-common, nav2-core, nav2-msgs, nav2-util, pluginlib, rclcpp, rclcpp-action, std-msgs }:
buildRosPackage {
pname = "ros-humble-nav2-controller";
version = "1.1.18-r1";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/humble/nav2_controller/1.1.18-1.tar.gz";
name = "1.1.18-1.tar.gz";
sha256 = "9cfed6fb9489d5a9705beac33f20588a65880041098f9c6c9a7717e5204e8d0b";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake nav2-common ];
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ angles nav-2d-msgs nav-2d-utils nav2-core nav2-msgs nav2-util pluginlib rclcpp rclcpp-action std-msgs ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Controller action interface";
license = with lib.licenses; [ asl20 ];
};
}