nix-ros-overlay/distros/humble/camera-info-manager/default.nix

29 lines
1.2 KiB
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-ros, ament-index-cpp, ament-lint-auto, ament-lint-common, camera-calibration-parsers, rclcpp, rcpputils, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-camera-info-manager";
version = "3.1.8-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/image_common-release/archive/release/humble/camera_info_manager/3.1.8-2.tar.gz";
name = "3.1.8-2.tar.gz";
sha256 = "4f1a6305e1d90494492407c0baa33d9533bb2e1fffe94a1dd7d442bd822de14d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ ament-index-cpp camera-calibration-parsers rclcpp rcpputils sensor-msgs ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = ''This package provides a C++ interface for camera calibration
information. It provides CameraInfo, and handles SetCameraInfo
service requests, saving and restoring the camera calibration
data.'';
license = with lib.licenses; [ bsdOriginal ];
};
}