mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 02:04:49 +03:00
26 lines
1,013 B
Nix
26 lines
1,013 B
Nix
|
|
# Copyright 2025 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, cv-bridge, image-transport, rclcpp, rclcpp-components, sensor-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-v4l2-camera";
|
|
version = "0.7.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/ros2_v4l2_camera-release/archive/release/rolling/v4l2_camera/0.7.1-1.tar.gz";
|
|
name = "0.7.1-1.tar.gz";
|
|
sha256 = "f639bfd5c482f6673b2d6e40e39d3310d9a698e6e74567831ce95df41d83306c";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-ros ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ camera-info-manager cv-bridge 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 ];
|
|
};
|
|
}
|