nix-ros-overlay/distros/rolling/rclcpp-action/default.nix

27 lines
1.1 KiB
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, action-msgs, ament-cmake-gtest, ament-cmake-ros, ament-lint-auto, ament-lint-common, mimick-vendor, performance-test-fixture, rcl, rcl-action, rclcpp, rcpputils, rosidl-runtime-c, test-msgs }:
buildRosPackage {
pname = "ros-rolling-rclcpp-action";
version = "29.3.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rclcpp-release/archive/release/rolling/rclcpp_action/29.3.0-1.tar.gz";
name = "29.3.0-1.tar.gz";
sha256 = "c249f4b8ac153ce065ff6c93a2d6051fa8d487d36537632ce7e40c5e29f15413";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-ros ];
checkInputs = [ ament-cmake-gtest ament-lint-auto ament-lint-common mimick-vendor performance-test-fixture test-msgs ];
propagatedBuildInputs = [ action-msgs rcl rcl-action rclcpp rcpputils rosidl-runtime-c ];
nativeBuildInputs = [ ament-cmake-ros ];
meta = {
description = "Adds action APIs for C++.";
license = with lib.licenses; [ asl20 ];
};
}