mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 22:20:34 +03:00
25 lines
854 B
Nix
25 lines
854 B
Nix
![]() |
|
||
|
# Copyright 2020 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, launch, phidgets-api, rclcpp, rclcpp-components, std-msgs }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-foxy-phidgets-analog-inputs";
|
||
|
version = "2.0.2-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_analog_inputs/2.0.2-1.tar.gz";
|
||
|
name = "2.0.2-1.tar.gz";
|
||
|
sha256 = "1ebecd07e774348a61d5dc9050e6f5657c58eb27581e0eea20b850f237e4b1d9";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
propagatedBuildInputs = [ launch phidgets-api rclcpp rclcpp-components std-msgs ];
|
||
|
nativeBuildInputs = [ ament-cmake-ros ];
|
||
|
|
||
|
meta = {
|
||
|
description = ''Driver for the Phidgets Analog Input devices'';
|
||
|
license = with lib.licenses; [ bsdOriginal ];
|
||
|
};
|
||
|
}
|