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/distros/melodic/socketcan-bridge/default.nix

26 lines
936 B
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2020 Open Source Robotics Foundation
2019-03-21 00:14:59 -04:00
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, can-msgs, catkin, rosconsole-bridge, roscpp, roslint, rostest, rosunit, socketcan-interface }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-socketcan-bridge";
version = "0.8.5-r1";
2019-03-21 00:14:59 -04:00
src = fetchurl {
url = "https://github.com/ros-industrial-release/ros_canopen-release/archive/release/melodic/socketcan_bridge/0.8.5-1.tar.gz";
name = "0.8.5-1.tar.gz";
sha256 = "d195820d08a60070e886fe46899e4d967b40838d1fe41b57ef11b70cc6ececad";
2019-03-21 00:14:59 -04:00
};
buildType = "catkin";
checkInputs = [ roslint rostest rosunit ];
propagatedBuildInputs = [ can-msgs rosconsole-bridge roscpp socketcan-interface ];
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.'';
license = with lib.licenses; [ bsdOriginal ];
2019-03-21 00:14:59 -04:00
};
}