nix-ros-overlay/distros/galactic/nav2-core/default.nix

26 lines
1.2 KiB
Nix

# Copyright 2022 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, geometry-msgs, launch, launch-testing, nav-msgs, nav2-common, nav2-costmap-2d, nav2-util, pluginlib, rclcpp, rclcpp-lifecycle, std-msgs, tf2-ros }:
buildRosPackage {
pname = "ros-galactic-nav2-core";
version = "1.0.12-r1";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/galactic/nav2_core/1.0.12-1.tar.gz";
name = "1.0.12-1.tar.gz";
sha256 = "bca1ef2ee4db9e1e68276b572906b9dfa1383c6cf9b62535e63e0acaae7b974b";
};
buildType = "ament_cmake";
buildInputs = [ nav2-common ];
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing ];
propagatedBuildInputs = [ geometry-msgs nav-msgs nav2-costmap-2d nav2-util pluginlib rclcpp rclcpp-lifecycle std-msgs tf2-ros ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''A set of headers for plugins core to the Nav2 stack'';
license = with lib.licenses; [ asl20 ];
};
}