2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-12-27 13:14:54 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-python, ament-cmake-ros, ament-lint-auto, ament-lint-common, pybind11-vendor, python-cmake-module, python3, pythonPackages, 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 }:
|
2024-05-24 14:00:52 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-jazzy-rosbag2-py";
|
2024-12-27 13:14:54 +00:00
|
|
|
version = "0.26.6-r1";
|
2024-05-24 14:00:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-12-27 13:14:54 +00:00
|
|
|
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";
|
2024-05-24 14:00:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2024-12-27 13:14:54 +00:00
|
|
|
buildInputs = [ ament-cmake-python ament-cmake-ros python-cmake-module python3 ];
|
2024-07-26 13:34:25 +00:00
|
|
|
checkInputs = [ ament-lint-auto ament-lint-common pythonPackages.pytest rcl-interfaces rosbag2-compression-zstd rosbag2-storage-default-plugins rosbag2-test-common rosbag2-test-msgdefs rosidl-runtime-py std-msgs ];
|
2024-05-24 14:00:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|