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/jazzy/phidgets-digital-inputs/default.nix

25 lines
894 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, rclcpp, rclcpp-components, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-phidgets-digital-inputs";
version = "2.3.3-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/jazzy/phidgets_digital_inputs/2.3.3-2.tar.gz";
name = "2.3.3-2.tar.gz";
sha256 = "160902290e6eff1d96b4c6d56e1b9eac2a82eebdb031db07199373046ebd40ec";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
propagatedBuildInputs = [ launch phidgets-api rclcpp rclcpp-components std-msgs ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Driver for the Phidgets Digital Input devices";
license = with lib.licenses; [ bsdOriginal ];
};
}