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";
|
|
|
|
version = "0.7.7";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/ros-drivers-gbp/phidgets_drivers-release/archive/release/melodic/phidgets_api/0.7.7-0.tar.gz;
|
|
|
|
sha256 = "bfbd02aa5ca164b4ba558a53dd7ddeff44e81b7682c9ea21c08f4f3aa9333152";
|
|
|
|
};
|
|
|
|
|
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'';
|
|
|
|
#license = lib.licenses.BSD;
|
|
|
|
};
|
|
|
|
}
|