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/distros/humble/as2-realsense-interface/default.nix

27 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gtest, ament-lint-auto, ament-lint-common, as2-core, as2-msgs, geometry-msgs, librealsense2, nav-msgs, rclcpp, sensor-msgs, std-msgs, std-srvs, tf2, tf2-ros }:
buildRosPackage {
pname = "ros-humble-as2-realsense-interface";
version = "1.1.2-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/aerostack2-release/archive/release/humble/as2_realsense_interface/1.1.2-2.tar.gz";
name = "1.1.2-2.tar.gz";
sha256 = "ac7fd77fc0993e8ceaaabe634395bd04fdebfa0f48b1a0a90ee2ac0a7bc6f57f";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ as2-core as2-msgs geometry-msgs librealsense2 nav-msgs rclcpp sensor-msgs std-msgs std-srvs tf2 tf2-ros ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Intel Realsense cameras driver";
license = with lib.licenses; [ bsd3 ];
};
}