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

25 lines
946 B
Nix

# Copyright 2022 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-galactic-nav2-common";
version = "1.0.12-r1";
src = fetchurl {
url = "https://github.com/SteveMacenski/navigation2-release/archive/release/galactic/nav2_common/1.0.12-1.tar.gz";
name = "1.0.12-1.tar.gz";
sha256 = "3390f2a003fae30e5fb82b9b15e7d604bf9efcc976f40a832c425ae4b2a32f28";
};
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 ];
};
}