nix-ros-overlay/distros/rolling/phidgets-api/default.nix

25 lines
781 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
buildRosPackage {
pname = "ros-rolling-phidgets-api";
version = "2.3.3-r1";
src = fetchurl {
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";
};
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 ];
};
}