nix-ros-overlay/distros/humble/examples-rclcpp-minimal-service/default.nix

26 lines
923 B
Nix

# Copyright 2025 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-minimal-service";
version = "0.15.3-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/humble/examples_rclcpp_minimal_service/0.15.3-1.tar.gz";
name = "0.15.3-1.tar.gz";
sha256 = "7cfd35b58138775bc8103e65137211bf029dbfac23682e7aa59a725ade2b3242";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ example-interfaces rclcpp ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "A minimal service server which adds two numbers";
license = with lib.licenses; [ asl20 ];
};
}