2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, libusb1, catkin, libphidget21, libusb }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-phidgets-api";
|
2019-08-03 13:30:09 -04:00
|
|
|
version = "0.7.9-r1";
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-03 13:30:09 -04:00
|
|
|
url = https://github.com/ros-drivers-gbp/phidgets_drivers-release/archive/release/melodic/phidgets_api/0.7.9-1.tar.gz;
|
|
|
|
sha256 = "c3f33f14fcfc032dddcb02b6a7938265972b7133804823a5cae8c9d51c30a46f";
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
|
2019-04-06 22:15:06 -04:00
|
|
|
buildInputs = [ libusb1 libphidget21 ];
|
2019-03-21 00:14:59 -04:00
|
|
|
propagatedBuildInputs = [ libphidget21 libusb ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''A C++ Wrapper for the Phidgets C API'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|