2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, roslint, can-msgs, catkin, rostest, socketcan-interface, roscpp, rosunit }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-socketcan-bridge";
|
2019-08-03 13:30:09 -04:00
|
|
|
version = "0.8.1-r1";
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-03 13:30:09 -04:00
|
|
|
url = https://github.com/ros-industrial-release/ros_canopen-release/archive/release/melodic/socketcan_bridge/0.8.1-1.tar.gz;
|
|
|
|
sha256 = "bf40769e5652dc526c8434b55c9a4bab56ae24c4138df39712c285f82a8acba9";
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
|
2019-04-06 22:15:06 -04:00
|
|
|
buildInputs = [ can-msgs roscpp socketcan-interface ];
|
2019-03-21 00:14:59 -04:00
|
|
|
checkInputs = [ rostest roslint rosunit ];
|
|
|
|
propagatedBuildInputs = [ can-msgs roscpp socketcan-interface ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Conversion nodes for messages from SocketCAN to a ROS Topic and vice versa.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|