1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/dashing/phidgets-gyroscope/default.nix

26 lines
982 B
Nix
Raw Normal View History

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, sensor-msgs, ament-cmake-ros, launch, rclcpp-components, std-msgs, std-srvs, phidgets-api, rclcpp }:
buildRosPackage {
pname = "ros-dashing-phidgets-gyroscope";
version = "2.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/phidgets_drivers-release/archive/release/dashing/phidgets_gyroscope/2.0.1-1.tar.gz";
name = "2.0.1-1.tar.gz";
sha256 = "385bbfab6f93ed22993d429902a1f8ca7a4bb8d61c12c5bac2d0d7678495a251";
};
buildType = "ament_cmake";
buildInputs = [ sensor-msgs rclcpp-components std-msgs std-srvs phidgets-api rclcpp ];
propagatedBuildInputs = [ sensor-msgs rclcpp-components launch std-msgs std-srvs phidgets-api rclcpp ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = ''Driver for the Phidgets Gyroscope devices'';
license = with lib.licenses; [ bsdOriginal ];
};
}