2024-01-19 13:36:49 +00:00
|
|
|
|
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-07-26 13:34:25 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-auto, ament-cmake-clang-format, ament-cmake-copyright, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-flake8, ament-cmake-lint-cmake, ament-cmake-ros, ament-cmake-xmllint, camera-info-manager, event-camera-msgs, image-transport, libcaer-vendor, rclcpp, rclcpp-components, ros-environment, sensor-msgs, std-srvs }:
|
2024-01-19 13:36:49 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-libcaer-driver";
|
2024-07-26 13:34:25 +00:00
|
|
|
version = "1.0.3-r1";
|
2024-01-19 13:36:49 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-07-26 13:34:25 +00:00
|
|
|
url = "https://github.com/ros2-gbp/libcaer_driver-release/archive/release/rolling/libcaer_driver/1.0.3-1.tar.gz";
|
|
|
|
name = "1.0.3-1.tar.gz";
|
|
|
|
sha256 = "18ac9c4d8cc685db47087852e326cfa92c0575a4581bb501c144511b48f5de9a";
|
2024-01-19 13:36:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake ament-cmake-auto ament-cmake-ros ros-environment ];
|
|
|
|
checkInputs = [ ament-cmake-clang-format ament-cmake-copyright ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-flake8 ament-cmake-lint-cmake ament-cmake-xmllint ];
|
2024-07-26 13:34:25 +00:00
|
|
|
propagatedBuildInputs = [ camera-info-manager event-camera-msgs image-transport libcaer-vendor rclcpp rclcpp-components sensor-msgs std-srvs ];
|
2024-01-19 13:36:49 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-auto ament-cmake-ros ros-environment ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "ROS2 driver for event base sensors using libcaer";
|
2024-01-19 13:36:49 +00:00
|
|
|
license = with lib.licenses; [ "Apache-2" ];
|
|
|
|
};
|
|
|
|
}
|