1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/foxy/bondcpp/default.nix

27 lines
979 B
Nix

# Copyright 2021 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, bond, pkg-config, rclcpp, rclcpp-lifecycle, smclib, util-linux }:
buildRosPackage {
pname = "ros-foxy-bondcpp";
version = "2.1.0-r1";
src = fetchurl {
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";
};
buildType = "ament_cmake";
buildInputs = [ pkg-config ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ bond rclcpp rclcpp-lifecycle smclib util-linux ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = ''C++ implementation of bond, a mechanism for checking when
another process has terminated.'';
license = with lib.licenses; [ bsdOriginal ];
};
}