2020-06-12 18:02:43 -04:00
|
|
|
|
2022-01-07 13:12:33 +00:00
|
|
|
# Copyright 2022 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -04: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-foxy-phidgets-drivers";
|
2022-02-25 13:30:51 +00:00
|
|
|
version = "2.1.1-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-02-25 13:30:51 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_drivers/2.1.1-1.tar.gz";
|
|
|
|
name = "2.1.1-1.tar.gz";
|
|
|
|
sha256 = "ffe7ad2720db74835fc2a70362be9d52907fb304637c8aebc92c4532cd15466d";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "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; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|