1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-19 00:20:36 +03:00
nix-ros-overlay/distros/iron/examples-rclcpp-minimal-service/default.nix

27 lines
919 B
Nix
Raw Normal View History

# Copyright 2024 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-iron-examples-rclcpp-minimal-service";
version = "0.18.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/iron/examples_rclcpp_minimal_service/0.18.1-1.tar.gz";
name = "0.18.1-1.tar.gz";
sha256 = "b2e114dd06f883c3959f4df0f3048a4e471363631f4e7e0f4d414f82988e6c6d";
};
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 ];
};
}