# Copyright 2025 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-rolling-phidgets-gyroscope"; version = "2.3.3-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/rolling/phidgets_gyroscope/2.3.3-1.tar.gz"; name = "2.3.3-1.tar.gz"; sha256 = "5c53beb0c310ff57a2fdb386793e721d6d3f968d75ec7ae0ea0f4fc18cdbb6d3"; }; 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 Gyroscope devices"; license = with lib.licenses; [ bsdOriginal ]; }; }