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

25 lines
936 B
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, can-msgs, catkin, rosconsole-bridge, roscpp, roslint, rostest, rosunit, socketcan-interface }:
buildRosPackage {
pname = "ros-melodic-socketcan-bridge";
version = "0.8.5-r1";
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";
};
buildType = "catkin";
checkInputs = [ roslint rostest rosunit ];
propagatedBuildInputs = [ can-msgs rosconsole-bridge roscpp socketcan-interface ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''Conversion nodes for messages from SocketCAN to a ROS Topic and vice versa.'';
license = with lib.licenses; [ bsdOriginal ];
};
}