1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/rolling/lanelet2-python/default.nix

26 lines
1 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-core, boost, gtest, lanelet2-core, lanelet2-io, lanelet2-matching, lanelet2-projection, lanelet2-routing, lanelet2-traffic-rules, mrt-cmake-modules }:
buildRosPackage {
pname = "ros-rolling-lanelet2-python";
version = "1.2.1-r6";
src = fetchurl {
url = "https://github.com/ros2-gbp/lanelet2-release/archive/release/rolling/lanelet2_python/1.2.1-6.tar.gz";
name = "1.2.1-6.tar.gz";
sha256 = "baa7832f83df13cffc95b0d521609faa1020b3bc48072c0add12ccb0629c856d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ gtest ];
propagatedBuildInputs = [ boost lanelet2-core lanelet2-io lanelet2-matching lanelet2-projection lanelet2-routing lanelet2-traffic-rules mrt-cmake-modules ];
nativeBuildInputs = [ ament-cmake-core mrt-cmake-modules ];
meta = {
description = "Python bindings for lanelet2";
license = with lib.licenses; [ bsdOriginal ];
};
}