2020-06-12 18:02:43 -04:00
|
|
|
|
2022-01-07 13:12:33 +00:00
|
|
|
# Copyright 2022 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-12-19 18:41:05 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, libusb1 }:
|
2020-06-12 18:02:43 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-libphidget22";
|
2022-04-15 13:36:09 +00:00
|
|
|
version = "2.1.2-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-04-15 13:36:09 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/libphidget22/2.1.2-1.tar.gz";
|
|
|
|
name = "2.1.2-1.tar.gz";
|
|
|
|
sha256 = "a592430c589a1ff98b2ec86f8223186cd378a0781892aaf203c6fc9e0b37e581";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2021-12-19 18:41:05 -05: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'';
|
2022-03-28 21:23:37 -04:00
|
|
|
license = with lib.licenses; [ "LGPL" ];
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
}
|