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, libphidget22, phidgets-accelerometer, phidgets-analog-inputs, phidgets-api, phidgets-digital-inputs, phidgets-digital-outputs, phidgets-gyroscope, phidgets-high-speed-encoder, phidgets-ik, phidgets-magnetometer, phidgets-motors, phidgets-msgs, phidgets-spatial, phidgets-temperature }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-phidgets-drivers";
|
2024-03-22 13:05:17 +00:00
|
|
|
version = "2.3.3-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-22 13:05:17 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/rolling/phidgets_drivers/2.3.3-1.tar.gz";
|
|
|
|
name = "2.3.3-1.tar.gz";
|
|
|
|
sha256 = "8e289943de83f09a49738fe7fce31f40389a75208f702a9b19fce049529b8ec7";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake ];
|
|
|
|
propagatedBuildInputs = [ libphidget22 phidgets-accelerometer phidgets-analog-inputs phidgets-api phidgets-digital-inputs phidgets-digital-outputs phidgets-gyroscope phidgets-high-speed-encoder phidgets-ik phidgets-magnetometer phidgets-motors phidgets-msgs phidgets-spatial phidgets-temperature ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''API and ROS drivers for Phidgets devices'';
|
|
|
|
license = with lib.licenses; [ "BSD-&-LGPL" ];
|
|
|
|
};
|
|
|
|
}
|