nix-ros-overlay/distros/humble/sensor-msgs-py/default.nix

24 lines
894 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, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-sensor-msgs-py";
version = "4.8.0-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/common_interfaces-release/archive/release/humble/sensor_msgs_py/4.8.0-1.tar.gz";
name = "4.8.0-1.tar.gz";
sha256 = "2141662f0904f212461158022e25a4360fb0d5ec25e9cfe5fa825efdf2dff904";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
propagatedBuildInputs = [ python3Packages.numpy sensor-msgs ];
meta = {
description = "A package for easy creation and reading of PointCloud2 messages in Python.";
license = with lib.licenses; [ bsdOriginal ];
};
}