1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/jazzy/libphidget22/default.nix

26 lines
779 B
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, libusb1 }:
buildRosPackage {
pname = "ros-jazzy-libphidget22";
version = "2.3.3-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/jazzy/libphidget22/2.3.3-2.tar.gz";
name = "2.3.3-2.tar.gz";
sha256 = "bc452316752f683e0b28fb1f07a494af3734cafa6ca6091259d50fab59e8482d";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
propagatedBuildInputs = [ libusb1 ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "This package wraps the libphidget22 to use it as a ROS dependency";
license = with lib.licenses; [ "LGPL" ];
};
}