1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/jazzy/rosbag2-py/default.nix

27 lines
1.4 KiB
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake-python, ament-cmake-ros, ament-lint-auto, ament-lint-common, pybind11-vendor, python-cmake-module, python3, python3Packages, rcl-interfaces, rclpy, rosbag2-compression, rosbag2-compression-zstd, rosbag2-cpp, rosbag2-storage, rosbag2-storage-default-plugins, rosbag2-test-common, rosbag2-test-msgdefs, rosbag2-transport, rosidl-runtime-py, rpyutils, std-msgs }:
buildRosPackage {
pname = "ros-jazzy-rosbag2-py";
version = "0.26.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/jazzy/rosbag2_py/0.26.6-1.tar.gz";
name = "0.26.6-1.tar.gz";
sha256 = "54276149149da75587b06f104059bcc2520316d692ec2ff4456ffe12ab61eaf5";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake-python ament-cmake-ros python-cmake-module python3 ];
checkInputs = [ ament-lint-auto ament-lint-common python3Packages.pytest rcl-interfaces rosbag2-compression-zstd rosbag2-storage-default-plugins rosbag2-test-common rosbag2-test-msgdefs rosidl-runtime-py std-msgs ];
propagatedBuildInputs = [ pybind11-vendor rclpy rosbag2-compression rosbag2-cpp rosbag2-storage rosbag2-transport rpyutils ];
nativeBuildInputs = [ ament-cmake-python ament-cmake-ros python-cmake-module ];
meta = {
description = "Python API for rosbag2";
license = with lib.licenses; [ asl20 ];
};
}