mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
25 lines
953 B
Nix
25 lines
953 B
Nix
|
|
# Copyright 2020 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, libphidget21, message-generation, message-runtime, phidgets-api, roscpp, sensor-msgs, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-melodic-phidgets-high-speed-encoder";
|
|
version = "0.7.9-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros-drivers-gbp/phidgets_drivers-release/archive/release/melodic/phidgets_high_speed_encoder/0.7.9-1.tar.gz";
|
|
name = "0.7.9-1.tar.gz";
|
|
sha256 = "d8b29845e8756bb602a1f63c030a3efee27fed46755d94574d696952ecdc05ef";
|
|
};
|
|
|
|
buildType = "catkin";
|
|
buildInputs = [ message-generation ];
|
|
propagatedBuildInputs = [ libphidget21 message-runtime phidgets-api roscpp sensor-msgs std-msgs ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
meta = {
|
|
description = ''Driver for the Phidgets high speed encoder devices'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|