1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-06-23 23:39:54 +03:00
nix-ros-overlay/distros/humble/sensor-msgs-py/default.nix

25 lines
909 B
Nix
Raw Normal View History

# Copyright 2024 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, python3Packages, pythonPackages, sensor-msgs }:
buildRosPackage {
pname = "ros-humble-sensor-msgs-py";
version = "4.2.4-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/common_interfaces-release/archive/release/humble/sensor_msgs_py/4.2.4-1.tar.gz";
name = "4.2.4-1.tar.gz";
sha256 = "c036af1acd8792b116eb2f47832d928986e4ec13f060db953098fa0834f6de6c";
};
buildType = "ament_python";
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.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 ];
};
}