1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/rolling/examples-rclcpp-minimal-service/default.nix

26 lines
925 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-rolling-examples-rclcpp-minimal-service";
version = "0.20.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclcpp_minimal_service/0.20.4-1.tar.gz";
name = "0.20.4-1.tar.gz";
sha256 = "ae79c32478e5f9f8994196e8c1115169d97508d8b84c495f97e40a4e55cf4944";
};
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 ];
};
}