1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/melodic/phidgets-api/default.nix
2020-01-17 21:21:17 -05:00

25 lines
783 B
Nix

# Copyright 2020 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, libphidget21, libusb, libusb1 }:
buildRosPackage {
pname = "ros-melodic-phidgets-api";
version = "0.7.9-r1";
src = fetchurl {
url = "https://github.com/ros-drivers-gbp/phidgets_drivers-release/archive/release/melodic/phidgets_api/0.7.9-1.tar.gz";
name = "0.7.9-1.tar.gz";
sha256 = "c3f33f14fcfc032dddcb02b6a7938265972b7133804823a5cae8c9d51c30a46f";
};
buildType = "catkin";
buildInputs = [ libusb1 ];
propagatedBuildInputs = [ libphidget21 libusb ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''A C++ Wrapper for the Phidgets C API'';
license = with lib.licenses; [ bsdOriginal ];
};
}