mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 18:24:50 +03:00
26 lines
1.4 KiB
Nix
26 lines
1.4 KiB
Nix
|
|
# Copyright 2025 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, event-camera-msgs, openeb-vendor, rclcpp, rclcpp-components, ros-environment, std-srvs }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-metavision-driver";
|
|
version = "2.0.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/metavision_driver-release/archive/release/rolling/metavision_driver/2.0.1-1.tar.gz";
|
|
name = "2.0.1-1.tar.gz";
|
|
sha256 = "536e4d2fc1cd1902d5256deaa710d8cc09ca0f57b68910186ea61ce37fb39ef4";
|
|
};
|
|
|
|
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 = [ event-camera-msgs openeb-vendor rclcpp rclcpp-components std-srvs ];
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-auto ament-cmake-ros ros-environment ];
|
|
|
|
meta = {
|
|
description = "ROS1 and ROS2 drivers for metavision based event cameras";
|
|
license = with lib.licenses; [ "Apache-2" ];
|
|
};
|
|
}
|