mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
26 lines
1.3 KiB
Nix
26 lines
1.3 KiB
Nix
|
|
# Copyright 2024 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, pythonPackages, rcl-interfaces, rclpy, rosbag2-compression, rosbag2-cpp, rosbag2-storage, rosbag2-storage-default-plugins, rosbag2-test-common, rosbag2-transport, rosidl-runtime-py, rpyutils, std-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-iron-rosbag2-py";
|
|
version = "0.22.8-r1";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ros2-gbp/rosbag2-release/archive/release/iron/rosbag2_py/0.22.8-1.tar.gz";
|
|
name = "0.22.8-1.tar.gz";
|
|
sha256 = "b55177c701787f0db07ee30cc43cb707ec6942637085de1d3f28b794ff5de501";
|
|
};
|
|
|
|
buildType = "ament_cmake";
|
|
buildInputs = [ ament-cmake-python ament-cmake-ros python-cmake-module ];
|
|
checkInputs = [ ament-lint-auto ament-lint-common pythonPackages.pytest rcl-interfaces rclpy rosbag2-storage-default-plugins rosbag2-test-common rosidl-runtime-py std-msgs ];
|
|
propagatedBuildInputs = [ pybind11-vendor 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 ];
|
|
};
|
|
}
|