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/iron/phidgets-api/default.nix
2023-06-19 17:15:23 -04:00

25 lines
777 B
Nix

# Copyright 2023 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
buildRosPackage {
pname = "ros-iron-phidgets-api";
version = "2.3.1-r3";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/iron/phidgets_api/2.3.1-3.tar.gz";
name = "2.3.1-3.tar.gz";
sha256 = "60ca50199b6ce96e8c75bc8a29f4c7a0066c32a323b4ff10e8be77008202ee77";
};
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 ];
};
}