2022-12-09 19:20:15 -05:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, rclcpp, rclcpp-components, sensor-msgs, std-msgs, std-srvs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-phidgets-spatial";
|
2024-03-08 13:41:18 +00:00
|
|
|
version = "2.3.2-r2";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-08 13:41:18 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/rolling/phidgets_spatial/2.3.2-2.tar.gz";
|
|
|
|
name = "2.3.2-2.tar.gz";
|
|
|
|
sha256 = "3469879da72a26fc037f6090ba601553910024c93fe02171910bc86fb4fc5121";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-ros ];
|
|
|
|
propagatedBuildInputs = [ launch phidgets-api rclcpp rclcpp-components sensor-msgs std-msgs std-srvs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Driver for the Phidgets Spatial 3/3/3 devices'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|