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

26 lines
963 B
Nix

# Copyright 2024 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.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/demos-release/archive/release/humble/action_tutorials_cpp/0.20.4-1.tar.gz";
name = "0.20.4-1.tar.gz";
sha256 = "3b27b0739059449a829c873b9f45d169e47f85e87bdee4b9a00ebb1562adcb7c";
};
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 ];
};
}