1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/kinetic/iot-bridge/default.nix
2019-04-06 20:59:50 -04:00

24 lines
990 B
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, pythonPackages, rostest, rostopic, rospy, diagnostic-msgs }:
buildRosPackage {
pname = "ros-kinetic-iot-bridge";
version = "0.9.0";
src = fetchurl {
url = https://github.com/ros-gbp/iot_bridge-release/archive/release/kinetic/iot_bridge/0.9.0-0.tar.gz;
sha256 = "4a4c794d1f100121b7bee42dcc83688aa0b98a3bf3412c8177ebba1d0345bf8b";
};
buildInputs = [ diagnostic-msgs ];
checkInputs = [ rostest ];
propagatedBuildInputs = [ diagnostic-msgs pythonPackages.requests rostopic rospy ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''The iot_bridge provides a bi-directional bridge between ROS and the OpenHAB Home Automation system. This allows a ROS robot to connect to a vast variety of IoT devices such as motion detectors, Z-Wave devices, lighting, door locks, etc.'';
#license = lib.licenses.BSD;
};
}