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/rolling/lanelet2-projection/default.nix

26 lines
933 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-core, geographiclib, gtest, lanelet2-io, mrt-cmake-modules }:
buildRosPackage {
pname = "ros-rolling-lanelet2-projection";
version = "1.2.1-r6";
src = fetchurl {
url = "https://github.com/ros2-gbp/lanelet2-release/archive/release/rolling/lanelet2_projection/1.2.1-6.tar.gz";
name = "1.2.1-6.tar.gz";
sha256 = "103ba9fe38442c50bb0466e01910cee7556a5d4764de2add9e5f10a6e66ab2ee";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ gtest ];
propagatedBuildInputs = [ geographiclib lanelet2-io mrt-cmake-modules ];
nativeBuildInputs = [ ament-cmake-core mrt-cmake-modules ];
meta = {
description = "Lanelet2 projection library for lat/lon to local x/y conversion";
license = with lib.licenses; [ bsdOriginal ];
};
}