mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
25 lines
924 B
Nix
25 lines
924 B
Nix
|
|
# 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-jazzy-phidgets-gyroscope";
|
|
version = "2.3.3-r2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/jazzy/phidgets_gyroscope/2.3.3-2.tar.gz";
|
|
name = "2.3.3-2.tar.gz";
|
|
sha256 = "f13547c999033dfe8f96cae666b1c60151bd64a923249396d5e6330e3cd1e0cc";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|