mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
25 lines
1 KiB
Nix
25 lines
1 KiB
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, diagnostic-aggregator, diagnostic-msgs, diagnostic-updater, imu-filter-madgwick, nodelet, phidgets-api, pluginlib, roscpp, roslaunch, sensor-msgs, std-msgs, std-srvs }:
|
|
buildRosPackage {
|
|
pname = "ros-melodic-phidgets-imu";
|
|
version = "0.7.11-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros-drivers-gbp/phidgets_drivers-release/archive/release/melodic/phidgets_imu/0.7.11-1.tar.gz";
|
|
name = "0.7.11-1.tar.gz";
|
|
sha256 = "734bc239351695bffac0addd1ebbc93fa75d9c6d4f291c05e6cff41fcb4155ae";
|
|
};
|
|
|
|
buildType = "catkin";
|
|
buildInputs = [ roslaunch ];
|
|
propagatedBuildInputs = [ diagnostic-aggregator diagnostic-msgs diagnostic-updater imu-filter-madgwick nodelet phidgets-api pluginlib roscpp sensor-msgs std-msgs std-srvs ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
meta = {
|
|
description = ''Driver for the Phidgets Spatial 3/3/3 devices'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|