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/iron/libphidget22/default.nix

25 lines
777 B
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, libusb1 }:
buildRosPackage {
pname = "ros-iron-libphidget22";
version = "2.3.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/iron/libphidget22/2.3.3-1.tar.gz";
name = "2.3.3-1.tar.gz";
sha256 = "fcbcb17ea740415cd2577b11fa135ab839fc38ef5a5bdd57bc201340ff192502";
};
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" ];
};
}