1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 22:20:34 +03:00
nix-ros-overlay/distros/melodic/phidgets-api/default.nix

26 lines
783 B
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2020 Open Source Robotics Foundation
2019-03-21 00:14:59 -04:00
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, libphidget21, libusb, libusb1 }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-phidgets-api";
version = "0.7.9-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.9-1.tar.gz";
name = "0.7.9-1.tar.gz";
sha256 = "c3f33f14fcfc032dddcb02b6a7938265972b7133804823a5cae8c9d51c30a46f";
2019-03-21 00:14:59 -04:00
};
buildType = "catkin";
buildInputs = [ libusb1 ];
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
};
}