2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
# Copyright 2020 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-foxy-v4l2-camera";
|
2020-10-02 13:20:44 +00:00
|
|
|
version = "0.3.0-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-10-02 13:20:44 +00:00
|
|
|
url = "https://gitlab.com/boldhearts/releases/ros2_v4l2_camera-release/repository/archive.tar.gz?ref=release/foxy/v4l2_camera/0.3.0-1";
|
2020-06-12 18:02:43 -04:00
|
|
|
name = "archive.tar.gz";
|
2020-10-02 13:20:44 +00:00
|
|
|
sha256 = "538e02de489d0117527eddfd7ff342fde67599fdef31386e3d415bb4c69a22a7";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|