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

25 lines
783 B
Nix

# Copyright 2024 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.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/rolling/phidgets_api/2.3.2-1.tar.gz";
name = "2.3.2-1.tar.gz";
sha256 = "6050d027aed8c1d5916a667560a095bd0d59549ede1d028b24c8a019189443f5";
};
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 ];
};
}