nix-ros-overlay/distros/rolling/examples-rclpy-minimal-client/default.nix

25 lines
941 B
Nix
Raw Permalink 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-client";
version = "0.21.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclpy_minimal_client/0.21.0-1.tar.gz";
name = "0.21.0-1.tar.gz";
sha256 = "a0a7d26aeb66a3d0761e26427032da9d73ecd15bd011c32da2dcbf24ed1475c1";
};
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 clients using rclpy.";
license = with lib.licenses; [ asl20 ];
};
}