nix-ros-overlay/distros/humble/action-tutorials-cpp/default.nix

26 lines
963 B
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, action-tutorials-interfaces, ament-cmake, ament-lint-auto, ament-lint-common, rclcpp, rclcpp-action, rclcpp-components }:
buildRosPackage {
pname = "ros-humble-action-tutorials-cpp";
version = "0.20.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/humble/action_tutorials_cpp/0.20.5-1.tar.gz";
name = "0.20.5-1.tar.gz";
sha256 = "5b0e6640ad5ea37a4f24e58cab50945abcda6abd41e6cf5e1459bee7a7b46d76";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ action-tutorials-interfaces rclcpp rclcpp-action rclcpp-components ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "C++ action tutorial cpp code";
license = with lib.licenses; [ asl20 ];
};
}