mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
24 lines
1.2 KiB
Nix
24 lines
1.2 KiB
Nix
|
|
# Copyright 2022 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, libphidget22, phidgets-accelerometer, phidgets-analog-inputs, phidgets-api, phidgets-digital-inputs, phidgets-digital-outputs, phidgets-gyroscope, phidgets-high-speed-encoder, phidgets-ik, phidgets-magnetometer, phidgets-motors, phidgets-msgs, phidgets-spatial, phidgets-temperature }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-phidgets-drivers";
|
|
version = "2.1.1-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_drivers/2.1.1-1.tar.gz";
|
|
name = "2.1.1-1.tar.gz";
|
|
sha256 = "ffe7ad2720db74835fc2a70362be9d52907fb304637c8aebc92c4532cd15466d";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
propagatedBuildInputs = [ libphidget22 phidgets-accelerometer phidgets-analog-inputs phidgets-api phidgets-digital-inputs phidgets-digital-outputs phidgets-gyroscope phidgets-high-speed-encoder phidgets-ik phidgets-magnetometer phidgets-motors phidgets-msgs phidgets-spatial phidgets-temperature ];
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
meta = {
|
|
description = ''API and ROS drivers for Phidgets devices'';
|
|
license = with lib.licenses; [ "BSD-&-LGPL" ];
|
|
};
|
|
}
|