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

26 lines
961 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-jazzy-action-tutorials-cpp";
version = "0.33.5-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/jazzy/action_tutorials_cpp/0.33.5-1.tar.gz";
name = "0.33.5-1.tar.gz";
sha256 = "0b0b486546638c8d9d4a97cc20e8d4db28e2c99d85b593ce57ebc2384a220d96";
};
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 ];
};
}