nix-ros-overlay/distros/jazzy/phidgets-analog-inputs/default.nix

25 lines
891 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-analog-inputs";
version = "2.3.3-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/jazzy/phidgets_analog_inputs/2.3.3-2.tar.gz";
name = "2.3.3-2.tar.gz";
sha256 = "ffd8c4133615c619c35010e2569e3334eda702683a8784d3fddbdfda9de6fcef";
};
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 Analog Input devices";
license = with lib.licenses; [ bsdOriginal ];
};
}