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

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