mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +03:00
26 lines
1.1 KiB
Nix
26 lines
1.1 KiB
Nix
|
|
# Copyright 2024 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, ffmpeg, geometry-msgs, libopus, libusb1, nav-msgs, psdk-interfaces, rclcpp, rclcpp-lifecycle, sensor-msgs, std-msgs, std-srvs, tf2, tf2-ros }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-psdk-wrapper";
|
|
version = "0.0.4-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/psdk_ros2-release/archive/release/humble/psdk_wrapper/0.0.4-1.tar.gz";
|
|
name = "0.0.4-1.tar.gz";
|
|
sha256 = "81712e25985c4f127ab3a540e691b4ce9a86e93e875fca40a22b7d012714c08c";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
propagatedBuildInputs = [ ffmpeg geometry-msgs libopus libusb1 nav-msgs psdk-interfaces rclcpp rclcpp-lifecycle sensor-msgs std-msgs std-srvs tf2 tf2-ros ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = ''ROS2 wrapper for the DJI PSDK'';
|
|
license = with lib.licenses; [ "MPL" ];
|
|
};
|
|
}
|