mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-11 02:04:49 +03:00
25 lines
926 B
Nix
25 lines
926 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, phidgets-msgs, rclcpp, rclcpp-components, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-phidgets-digital-outputs";
|
|
version = "2.1.2-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_digital_outputs/2.1.2-1.tar.gz";
|
|
name = "2.1.2-1.tar.gz";
|
|
sha256 = "af3cf33c950347d0b22e70200ba8892438a45eb561c17a4e13c4bf740bea0d71";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-ros ];
|
|
propagatedBuildInputs = [ launch phidgets-api phidgets-msgs rclcpp rclcpp-components std-msgs ];
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = ''Driver for the Phidgets Digital Output devices'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|