# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, cpp-common, message-generation, message-runtime, pkg-config, rosconsole, roscpp-serialization, roscpp-traits, rosgraph-msgs, roslang, rostime, std-msgs, xmlrpcpp }:
buildRosPackage {
pname = "ros-melodic-roscpp";
version = "1.14.11-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/ros_comm-release/archive/release/melodic/roscpp/1.14.11-1.tar.gz";
name = "1.14.11-1.tar.gz";
sha256 = "91a20fa2dec45369c7f47b30f66743d597164ae095d671b540b2c2acc971841f";
};
buildType = "catkin";
buildInputs = [ message-generation pkg-config roslang ];
propagatedBuildInputs = [ cpp-common message-runtime rosconsole roscpp-serialization roscpp-traits rosgraph-msgs rostime std-msgs xmlrpcpp ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''roscpp is a C++ implementation of ROS. It provides
a client
library that enables C++ programmers to quickly interface with
ROS Topics,
Services,
and Parameters.
roscpp is the most widely used ROS client library and is designed to
be the high-performance library for ROS.'';
license = with lib.licenses; [ bsdOriginal ];
};
}