1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/humble/phidgets-api/default.nix
2022-06-11 13:21:09 -04:00

24 lines
744 B
Nix

# Copyright 2022 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
buildRosPackage {
pname = "ros-humble-phidgets-api";
version = "2.3.0-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/humble/phidgets_api/2.3.0-2.tar.gz";
name = "2.3.0-2.tar.gz";
sha256 = "4a64b2808e00f7e9872841d81d9edbfa363af1cde4ec16450b66bacd1109833f";
};
buildType = "ament_cmake";
propagatedBuildInputs = [ libphidget22 ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = ''A C++ Wrapper for the Phidgets C API'';
license = with lib.licenses; [ bsdOriginal ];
};
}