1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/dashing/v4l2-camera/default.nix
2019-12-09 23:36:28 -05:00

25 lines
983 B
Nix

# Copyright 2019 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-dashing-v4l2-camera";
version = "0.1.1-r1";
src = fetchurl {
url = "https://gitlab.com/boldhearts/releases/ros2_v4l2_camera-release/repository/archive.tar.gz?ref=release/dashing/v4l2_camera/0.1.1-1";
name = "archive.tar.gz";
sha256 = "9d95b9bc438b735c65dde0379ad8d61e260198172e11a7db969540cc18dc5592";
};
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 ];
};
}