2022-06-09 18:50:37 -04:00
|
|
|
|
2023-01-06 13:57:00 +00:00
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-phidgets-api";
|
2023-03-17 13:53:56 +00:00
|
|
|
version = "2.3.1-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-17 13:53:56 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/humble/phidgets_api/2.3.1-1.tar.gz";
|
|
|
|
name = "2.3.1-1.tar.gz";
|
|
|
|
sha256 = "1dc6911a781f7df4506a387cdcfad985ec6a5113919b5737fbd9465affa6989e";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake-ros ];
|
2022-06-09 18:50:37 -04:00
|
|
|
propagatedBuildInputs = [ libphidget22 ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''A C++ Wrapper for the Phidgets C API'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|