2020-06-12 18:02:43 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-05-29 00:40:01 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, libusb1 }:
|
2020-06-12 18:02:43 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-libphidget22";
|
|
|
|
version = "2.0.2-r1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/libphidget22/2.0.2-1.tar.gz";
|
|
|
|
name = "2.0.2-1.tar.gz";
|
|
|
|
sha256 = "c5928f41449bdcacee44aa1184b21001e838254d51a20ebed809ca7692611f91";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2021-05-29 00:40:01 +00:00
|
|
|
propagatedBuildInputs = [ libusb1 ];
|
2020-06-12 18:02:43 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''This package wraps the libphidget22 to use it as a ROS dependency'';
|
|
|
|
license = with lib.licenses; [ lgpl2 ];
|
|
|
|
};
|
|
|
|
}
|