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

26 lines
789 B
Nix
Raw Normal View History

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