mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 22:20:34 +03:00
26 lines
985 B
Nix
26 lines
985 B
Nix
![]() |
|
||
|
# 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-eloquent-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/eloquent/v4l2_camera/0.1.1-1";
|
||
|
name = "archive.tar.gz";
|
||
|
sha256 = "d0c0769a915b19580c981e46f51c4aff5470323fce5db81d3395432b2dbedb5a";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|