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/iron/lanelet2-python/default.nix

26 lines
1,020 B
Nix

# Copyright 2024 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-projection, lanelet2-routing, lanelet2-traffic-rules, mrt-cmake-modules }:
buildRosPackage {
pname = "ros-iron-lanelet2-python";
version = "1.1.1-r5";
src = fetchurl {
url = "https://github.com/ros2-gbp/lanelet2-release/archive/release/iron/lanelet2_python/1.1.1-5.tar.gz";
name = "1.1.1-5.tar.gz";
sha256 = "c740a554c7e10535f7437a241917bbdc632fe7bed5e31294be8a1e19e908e8ba";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ gtest ];
propagatedBuildInputs = [ boost lanelet2-core lanelet2-io 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 ];
};
}