nix-ros-overlay/distros/foxy/lanelet2-examples/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

26 lines
1.1 KiB
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-core, gtest, lanelet2-core, lanelet2-io, lanelet2-matching, lanelet2-projection, lanelet2-python, lanelet2-routing, lanelet2-traffic-rules, mrt-cmake-modules, ros2cli }:
buildRosPackage {
pname = "ros-foxy-lanelet2-examples";
version = "1.2.1-r1";
src = fetchurl {
url = "https://github.com/fzi-forschungszentrum-informatik/lanelet2-release/archive/release/foxy/lanelet2_examples/1.2.1-1.tar.gz";
name = "1.2.1-1.tar.gz";
sha256 = "28aba052d6d9a97af230b163eeaa680af6c399e48455062b4027dadc844d0e29";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-core ];
checkInputs = [ gtest ];
propagatedBuildInputs = [ lanelet2-core lanelet2-io lanelet2-matching lanelet2-projection lanelet2-python lanelet2-routing lanelet2-traffic-rules mrt-cmake-modules ros2cli ];
nativeBuildInputs = [ ament-cmake-core mrt-cmake-modules ];
meta = {
description = ''Examples for working with Lanelet2'';
license = with lib.licenses; [ bsdOriginal ];
};
}