2023-06-19 17:15:23 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2023-06-19 17:15:23 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, rclcpp, rclcpp-components, sensor-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-iron-phidgets-accelerometer";
|
2024-03-22 13:05:17 +00:00
|
|
|
version = "2.3.3-r1";
|
2023-06-19 17:15:23 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-22 13:05:17 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/iron/phidgets_accelerometer/2.3.3-1.tar.gz";
|
|
|
|
name = "2.3.3-1.tar.gz";
|
|
|
|
sha256 = "69bf22b77fbce1213f73b291eb339c8bc1ecfd11fb74ee0710efcb657f416910";
|
2023-06-19 17:15:23 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-ros ];
|
|
|
|
propagatedBuildInputs = [ launch phidgets-api rclcpp rclcpp-components sensor-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "Driver for the Phidgets Accelerometer devices";
|
2023-06-19 17:15:23 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|