1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-15 22:50:46 +03:00
nix-ros-overlay/melodic/socketcan-interface/default.nix
2019-12-09 23:36:28 -05:00

25 lines
969 B
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, boost, catkin, class-loader, console-bridge, linuxHeaders, rosunit }:
buildRosPackage {
pname = "ros-melodic-socketcan-interface";
version = "0.8.2-r1";
src = fetchurl {
url = "https://github.com/ros-industrial-release/ros_canopen-release/archive/release/melodic/socketcan_interface/0.8.2-1.tar.gz";
name = "0.8.2-1.tar.gz";
sha256 = "e59e02fb68b878c51ee9adbad6008109f85495608d31fd2a139a2dcfef55e572";
};
buildType = "catkin";
checkInputs = [ rosunit ];
propagatedBuildInputs = [ boost class-loader console-bridge linuxHeaders ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''Generic CAN interface description with helpers for filtering and driver implementation. Further a socketcan implementation based on boost::asio is included.'';
license = with lib.licenses; [ lgpl2 ];
};
}