1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/dashing/phidgets-api/default.nix

24 lines
746 B
Nix

# Copyright 2020 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-ros, libphidget22 }:
buildRosPackage {
pname = "ros-dashing-phidgets-api";
version = "2.0.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/dashing/phidgets_api/2.0.2-1.tar.gz";
name = "2.0.2-1.tar.gz";
sha256 = "d67766d1e51666b96e4d7f6d81ae8fb234bdc16bb201c6e202c8316956ede855";
};
buildType = "ament_cmake";
propagatedBuildInputs = [ libphidget22 ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = ''A C++ Wrapper for the Phidgets C API'';
license = with lib.licenses; [ bsdOriginal ];
};
}