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/foxy/phidgets-digital-inputs/default.nix
Ben Wolsieffer d31e04aef7 Revert "Remove foxy."
This reverts commit 113129c9da.
2023-09-12 19:34:23 -04:00

25 lines
894 B
Nix

# Copyright 2023 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-foxy-phidgets-digital-inputs";
version = "2.1.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_digital_inputs/2.1.2-1.tar.gz";
name = "2.1.2-1.tar.gz";
sha256 = "a36f9e201a750fdb8c323b40a7f42799f875267cf19fe0214986b03b22f0f598";
};
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 ];
};
}