# Copyright 2021 Open Source Robotics Foundation # 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-foxy-phidgets-spatial"; version = "2.0.2-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_spatial/2.0.2-1.tar.gz"; name = "2.0.2-1.tar.gz"; sha256 = "33c8dbd3490c7321dded0f33bbb32958e3a9a0b9022e81bbea23524c1d204a8b"; }; buildType = "ament_cmake"; 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 ]; }; }