nix-ros-overlay/distros/jazzy/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-jazzy-lanelet2-python";
version = "1.2.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/lanelet2-release/archive/release/jazzy/lanelet2_python/1.2.1-1.tar.gz";
name = "1.2.1-1.tar.gz";
sha256 = "d8e69a2266fc932b8e69e5fcd1d5c37f9e5aa8c604f1a4a13772d58f84185bea";
};
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 ];
};
}