mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-10 09:52:22 +03:00
25 lines
944 B
Nix
25 lines
944 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, phidgets-msgs, rclcpp, rclcpp-components, sensor-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-humble-phidgets-high-speed-encoder";
|
|
version = "2.3.3-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/humble/phidgets_high_speed_encoder/2.3.3-1.tar.gz";
|
|
name = "2.3.3-1.tar.gz";
|
|
sha256 = "7dd7f1b8cc775d8bd4c401de87140e9a5619985d041fc3d7a1f8682175517ed1";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-ros ];
|
|
propagatedBuildInputs = [ launch phidgets-api phidgets-msgs rclcpp rclcpp-components sensor-msgs ];
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = "Driver for the Phidgets high speed encoder devices";
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|