nix-ros-overlay/distros/jazzy/event-camera-py/default.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-pytest, ament-cmake-python, ament-cmake-ros, ament-lint-auto, ament-lint-common, event-camera-codecs, event-camera-msgs, pybind11-vendor, python-cmake-module, python3Packages, rclpy, ros-environment, rosbag2-py, rosbag2-storage-default-plugins, rosidl-runtime-py, rpyutils }:
buildRosPackage {
pname = "ros-jazzy-event-camera-py";
version = "2.0.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/event_camera_py-release/archive/release/jazzy/event_camera_py/2.0.0-1.tar.gz";
name = "2.0.0-1.tar.gz";
sha256 = "65194fb2e4da3d993dbd8d47c906f9055e00787e1efb9c57bef5c366fce9ea1a";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ament-cmake-auto ament-cmake-python ament-cmake-ros python-cmake-module ];
checkInputs = [ ament-cmake-clang-format ament-cmake-pytest ament-lint-auto ament-lint-common python3Packages.numpy rclpy rosbag2-py rosbag2-storage-default-plugins rosidl-runtime-py ];
propagatedBuildInputs = [ event-camera-codecs event-camera-msgs pybind11-vendor ros-environment rpyutils ];
nativeBuildInputs = [ ament-cmake ament-cmake-auto ament-cmake-python ament-cmake-ros python-cmake-module ];
meta = {
description = "Python access for event_camera_msgs.";
license = with lib.licenses; [ asl20 ];
};
}