# Copyright 2022 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake-ros, ament-lint-auto, ament-lint-common, camera-info-manager, image-transport, rclcpp, rclcpp-components, sensor-msgs }: buildRosPackage { pname = "ros-humble-v4l2-camera"; version = "0.4.0-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/ros2_v4l2_camera-release/archive/release/humble/v4l2_camera/0.4.0-1.tar.gz"; name = "0.4.0-1.tar.gz"; sha256 = "eadb59e200b532402534bf652356df3b144da912ecd5d311841fcffd307064db"; }; buildType = "ament_cmake"; checkInputs = [ ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ camera-info-manager image-transport rclcpp rclcpp-components sensor-msgs ]; nativeBuildInputs = [ ament-cmake-ros ]; meta = { description = ''A ROS 2 camera driver using Video4Linux2''; license = with lib.licenses; [ asl20 ]; }; }