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

27 lines
1,011 B
Nix
Raw Normal View History

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, rosconsole-bridge, rostest, socketcan-interface, roscpp, rosunit }:
2019-03-21 00:14:59 -04:00
buildRosPackage {
pname = "ros-melodic-socketcan-bridge";
version = "0.8.2-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.2-1.tar.gz";
name = "0.8.2-1.tar.gz";
sha256 = "b757ed9a8e2e7bce9c8834e356e00263d786ac163229b6846db205638f941174";
2019-03-21 00:14:59 -04:00
};
buildType = "catkin";
buildInputs = [ can-msgs roscpp rosconsole-bridge socketcan-interface ];
2019-03-21 00:14:59 -04:00
checkInputs = [ rostest roslint rosunit ];
propagatedBuildInputs = [ can-msgs roscpp rosconsole-bridge 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
};
}