nix-ros-overlay/distros/jazzy/bondcpp/default.nix

27 lines
984 B
Nix

# Copyright 2025 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-jazzy-bondcpp";
version = "4.1.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/bond_core-release/archive/release/jazzy/bondcpp/4.1.2-1.tar.gz";
name = "4.1.2-1.tar.gz";
sha256 = "2d43990501dd4c8dd5a65dce657e1cf1a9070e0d2fa3dec5b68d7abe1e5dadfb";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake 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; [ bsd3 ];
};
}