mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-22 15:10:16 +03:00
25 lines
777 B
Nix
25 lines
777 B
Nix
|
|
# Copyright 2023 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
|
|
buildRosPackage {
|
|
pname = "ros-foxy-phidgets-api";
|
|
version = "2.1.2-r1";
|
|
|
|
src = fetchurl {
|
|
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";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-ros ];
|
|
propagatedBuildInputs = [ libphidget22 ];
|
|
nativeBuildInputs = [ ament-cmake-ros ];
|
|
|
|
meta = {
|
|
description = ''A C++ Wrapper for the Phidgets C API'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|