1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-15 06:31:44 +03:00
nix-ros-overlay/melodic/phidgets-api/default.nix

24 lines
741 B
Nix
Raw Normal View History

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.8-r1";
2019-03-21 00:14:59 -04:00
src = fetchurl {
url = https://github.com/ros-drivers-gbp/phidgets_drivers-release/archive/release/melodic/phidgets_api/0.7.8-1.tar.gz;
sha256 = "724401a8a4f5e4046acb595eace743404df64f3d512ad49a51eca5d1b9fb56c0";
2019-03-21 00:14:59 -04:00
};
buildInputs = [ libusb1 libphidget21 ];
2019-03-21 00:14:59 -04:00
propagatedBuildInputs = [ libphidget21 libusb ];
nativeBuildInputs = [ catkin ];
2019-03-21 00:14:59 -04:00
meta = {
description = ''A C++ Wrapper for the Phidgets C API'';
license = with lib.licenses; [ bsdOriginal ];
2019-03-21 00:14:59 -04:00
};
}