mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
24 lines
906 B
Nix
24 lines
906 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, ament-xmllint, python3Packages, rclpy, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-rolling-examples-rclpy-minimal-subscriber";
|
|
version = "0.20.4-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/examples-release/archive/release/rolling/examples_rclpy_minimal_subscriber/0.20.4-1.tar.gz";
|
|
name = "0.20.4-1.tar.gz";
|
|
sha256 = "16ea192e08fda8041d6908903600740fa8befe4756840c61b58904c41ed8ec6a";
|
|
};
|
|
|
|
buildType = "ament_python";
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 ament-xmllint python3Packages.pytest ];
|
|
propagatedBuildInputs = [ rclpy std-msgs ];
|
|
|
|
meta = {
|
|
description = "Examples of minimal subscribers using rclpy.";
|
|
license = with lib.licenses; [ asl20 ];
|
|
};
|
|
}
|