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/melodic/joy/default.nix
2019-04-06 22:15:06 -04:00

28 lines
1 KiB
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, rosbag, linuxConsoleTools, catkin, sensor-msgs, diagnostic-updater, roscpp }:
buildRosPackage {
pname = "ros-melodic-joy";
version = "1.12.0";
src = fetchurl {
url = https://github.com/ros-gbp/joystick_drivers-release/archive/release/melodic/joy/1.12.0-0.tar.gz;
sha256 = "b2942c8164aec9fee0c21d0cb7f8c1e77c3e5e555b10489024e3795de272c600";
};
buildInputs = [ diagnostic-updater linuxConsoleTools sensor-msgs roscpp ];
checkInputs = [ rosbag ];
propagatedBuildInputs = [ diagnostic-updater linuxConsoleTools sensor-msgs roscpp ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''ROS driver for a generic Linux joystick.
The joy package contains joy_node, a node that interfaces a
generic Linux joystick to ROS. This node publishes a "Joy"
message, which contains the current state of each one of the
joystick's buttons and axes.'';
#license = lib.licenses.BSD;
};
}