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/rosserial-arduino/default.nix

26 lines
919 B
Nix
Raw Normal View History

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, arduino, catkin, message-generation, message-runtime, rospy, rosserial-client, rosserial-msgs, rosserial-python }:
buildRosPackage {
pname = "ros-melodic-rosserial-arduino";
version = "0.8.0";
src = fetchurl {
url = "https://github.com/ros-gbp/rosserial-release/archive/release/melodic/rosserial_arduino/0.8.0-0.tar.gz";
name = "0.8.0-0.tar.gz";
sha256 = "dd4574a7017d7e81ffdf3d68f443017a16946a2788c02daa2ba21cf9ca351da6";
};
buildType = "catkin";
buildInputs = [ message-generation ];
propagatedBuildInputs = [ arduino message-runtime rospy rosserial-client rosserial-msgs rosserial-python ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''rosserial for Arduino/AVR platforms.'';
license = with lib.licenses; [ bsdOriginal ];
};
}