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

24 lines
865 B
Nix

# Copyright 2021 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-galactic-phidgets-digital-inputs";
version = "2.2.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/galactic/phidgets_digital_inputs/2.2.1-1.tar.gz";
name = "2.2.1-1.tar.gz";
sha256 = "2360d0df777522513aa3746f02ee74a803e10157f59a2cd7e1629c7b8f61c4ee";
};
buildType = "ament_cmake";
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 ];
};
}