1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/humble/nav2-common/default.nix

25 lines
940 B
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-core, ament-cmake-python, launch, launch-ros, osrf-pycommon, python3Packages, rclpy }:
buildRosPackage {
pname = "ros-humble-nav2-common";
version = "1.1.17-r1";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/humble/nav2_common/1.1.17-1.tar.gz";
name = "1.1.17-1.tar.gz";
sha256 = "cf4bb6d6115b74bbf9229df647658188e1d1a2cfd5d5f3b53c60b09e3858c466";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-python ];
propagatedBuildInputs = [ ament-cmake-core launch launch-ros osrf-pycommon python3Packages.pyyaml rclpy ];
nativeBuildInputs = [ ament-cmake-core ];
meta = {
description = "Common support functionality used throughout the navigation 2 stack";
license = with lib.licenses; [ asl20 ];
};
}