2020-06-12 18:02:43 -04:00
|
|
|
|
2022-01-07 13:12:33 +00:00
|
|
|
# Copyright 2022 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-phidgets-api";
|
2022-04-15 13:36:09 +00:00
|
|
|
version = "2.1.2-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-04-15 13:36:09 +00:00
|
|
|
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/foxy/phidgets_api/2.1.2-1.tar.gz";
|
|
|
|
name = "2.1.2-1.tar.gz";
|
|
|
|
sha256 = "ad71b362a36d03cf333d374d229011f8f4f0652b47d2eff0b78069f3a01cd147";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
propagatedBuildInputs = [ libphidget22 ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''A C++ Wrapper for the Phidgets C API'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|