nix-ros-overlay/distros/jazzy/examples-rclpy-minimal-service/default.nix

24 lines
910 B
Nix

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