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

25 lines
943 B
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, ament-xmllint, example-interfaces, python3Packages, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-rolling-examples-rclpy-minimal-service";
version = "0.20.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclpy_minimal_service/0.20.4-1.tar.gz";
name = "0.20.4-1.tar.gz";
sha256 = "b0ef9d2605c49723e4899714817bfe550f1c31b527d1a9dd328aa69ace8cfd49";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint python3Packages.pytest ];
propagatedBuildInputs = [ example-interfaces rclpy std-msgs ];
meta = {
description = "Examples of minimal service servers using rclpy.";
license = with lib.licenses; [ asl20 ];
};
}