2020-11-13 13:08:14 +00:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-11-13 13:08:14 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-05-29 00:40:01 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, bond, pkg-config, rclcpp, rclcpp-lifecycle, smclib, util-linux }:
|
2020-11-13 13:08:14 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-bondcpp";
|
2021-05-28 23:33:17 +00:00
|
|
|
version = "2.1.0-r1";
|
2020-11-13 13:08:14 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-05-28 23:33:17 +00:00
|
|
|
url = "https://github.com/ros2-gbp/bond_core-release/archive/release/foxy/bondcpp/2.1.0-1.tar.gz";
|
|
|
|
name = "2.1.0-1.tar.gz";
|
|
|
|
sha256 = "ffe014cb55631c22b936c62fb71f3448273abdabc16f9c5c9bcb01076d678d31";
|
2020-11-13 13:08:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2021-05-28 23:33:17 +00:00
|
|
|
buildInputs = [ pkg-config ];
|
2020-11-13 13:08:14 +00:00
|
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
2021-05-29 00:40:01 +00:00
|
|
|
propagatedBuildInputs = [ bond rclcpp rclcpp-lifecycle smclib util-linux ];
|
2020-11-13 13:08:14 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''C++ implementation of bond, a mechanism for checking when
|
|
|
|
another process has terminated.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|