nix-ros-overlay/distros/humble/examples-rclcpp-async-client/default.nix

26 lines
904 B
Nix

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, example-interfaces, rclcpp }:
buildRosPackage {
pname = "ros-humble-examples-rclcpp-async-client";
version = "0.15.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/humble/examples_rclcpp_async_client/0.15.2-1.tar.gz";
name = "0.15.2-1.tar.gz";
sha256 = "7bc2cd95b109347900925742d36cd746eda42f2b5962deef63b025abf96372bc";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ example-interfaces rclcpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Example of an async service client";
license = with lib.licenses; [ asl20 ];
};
}