nix-ros-overlay/distros/foxy/phidgets-high-speed-encoder/default.nix

24 lines
905 B
Nix

# Copyright 2022 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-foxy-phidgets-high-speed-encoder";
version = "2.1.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_high_speed_encoder/2.1.1-1.tar.gz";
name = "2.1.1-1.tar.gz";
sha256 = "3f2e7f3de2fe94afc8c0a511cb29b717433c1094c798cf2da9d02aa58c8112f5";
};
buildType = "ament_cmake";
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 ];
};
}