2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-phidgets-api";
|
2024-03-22 13:05:17 +00:00
|
|
|
version = "2.3.3-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-22 13:05:17 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/rolling/phidgets_api/2.3.3-1.tar.gz";
|
|
|
|
name = "2.3.3-1.tar.gz";
|
|
|
|
sha256 = "3a81df0722760113893cffdc7c1d9521f0474f8de2b3f6e85462a606c89cb1a9";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-ros ];
|
|
|
|
propagatedBuildInputs = [ libphidget22 ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "A C++ Wrapper for the Phidgets C API";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|