1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/humble/sensor-msgs-py/default.nix
2022-06-11 13:21:09 -04:00

24 lines
911 B
Nix

# Copyright 2022 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.2-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/common_interfaces-release/archive/release/humble/sensor_msgs_py/4.2.2-1.tar.gz";
name = "4.2.2-1.tar.gz";
sha256 = "9da5fe5a5d41c49e891055641aabd827ff1a585c39d7fe6fc59bf33de8fc595f";
};
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 ];
};
}