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/cpp-common/default.nix

29 lines
1 KiB
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, boost, catkin, console-bridge }:
buildRosPackage {
pname = "ros-melodic-cpp-common";
version = "0.6.14-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/roscpp_core-release/archive/release/melodic/cpp_common/0.6.14-1.tar.gz";
name = "0.6.14-1.tar.gz";
sha256 = "c09132fa1409e4fcd1d779c38ecb90c7dd8fa737801c56d8a08c4fe67f64516d";
};
buildType = "catkin";
propagatedBuildInputs = [ boost console-bridge ];
nativeBuildInputs = [ catkin ];
meta = {
description = ''cpp_common contains C++ code for doing things that are not necessarily ROS
related, but are useful for multiple packages. This includes things like
the ROS_DEPRECATED and ROS_FORCE_INLINE macros, as well as code for getting
backtraces.
This package is a component of <a href="http://www.ros.org/wiki/roscpp">roscpp</a>.'';
license = with lib.licenses; [ bsdOriginal ];
};
}