mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
27 lines
1.4 KiB
Nix
27 lines
1.4 KiB
Nix
![]() |
|
||
|
# Copyright 2024 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ 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, rclcpp, rclcpp-components, ros-environment, sensor-msgs, std-srvs }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-humble-libcaer-driver";
|
||
|
version = "1.1.1-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/libcaer_driver-release/archive/release/humble/libcaer_driver/1.1.1-1.tar.gz";
|
||
|
name = "1.1.1-1.tar.gz";
|
||
|
sha256 = "0a2eaf89b3262da219a6f65839be3a9e419a43e27ec5fa429dbf5cb9765e7fbc";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
propagatedBuildInputs = [ camera-info-manager event-camera-msgs image-transport libcaer rclcpp rclcpp-components sensor-msgs std-srvs ];
|
||
|
nativeBuildInputs = [ ament-cmake ament-cmake-auto ament-cmake-ros ros-environment ];
|
||
|
|
||
|
meta = {
|
||
|
description = ''ROS2 driver for event base sensors using libcaer'';
|
||
|
license = with lib.licenses; [ "Apache-2" ];
|
||
|
};
|
||
|
}
|