1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 06:00:38 +03:00
nix-ros-overlay/distros/jazzy/examples-rclpy-minimal-subscriber/default.nix

24 lines
873 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, python3Packages, rclpy, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-examples-rclpy-minimal-subscriber";
version = "0.19.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/examples-release/archive/release/jazzy/examples_rclpy_minimal_subscriber/0.19.4-1.tar.gz";
name = "0.19.4-1.tar.gz";
sha256 = "66d487557b63bf9fe5910eecef86390e942a1d46e90ab0ff5706a39ce2ebecc9";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
propagatedBuildInputs = [ rclpy std-msgs ];
meta = {
description = "Examples of minimal subscribers using rclpy.";
license = with lib.licenses; [ asl20 ];
};
}