2023-06-19 17:15:23 -04:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2023-06-19 17:15:23 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-iron-phidgets-api";
|
2023-12-22 13:30:27 +00:00
|
|
|
version = "2.3.2-r1";
|
2023-06-19 17:15:23 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-12-22 13:30:27 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/iron/phidgets_api/2.3.2-1.tar.gz";
|
|
|
|
name = "2.3.2-1.tar.gz";
|
|
|
|
sha256 = "136f1c3fa6a5c5f6aeedea8b0215cf76481f2c900558159c45ee69f52b4366b6";
|
2023-06-19 17:15:23 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-ros ];
|
|
|
|
propagatedBuildInputs = [ libphidget22 ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''A C++ Wrapper for the Phidgets C API'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|