2025-06-12 19:36:28 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitLab,
|
|
|
|
|
|
|
|
# build-system
|
|
|
|
setuptools,
|
|
|
|
setuptools-scm,
|
|
|
|
|
|
|
|
# dependencies
|
|
|
|
lz4,
|
|
|
|
numpy,
|
|
|
|
ruamel-yaml,
|
|
|
|
typing-extensions,
|
|
|
|
zstandard,
|
|
|
|
|
|
|
|
# nativeCheckInputs
|
|
|
|
pytestCheckHook,
|
|
|
|
|
|
|
|
# checkInputs
|
|
|
|
declinate,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rosbags";
|
2025-08-10 13:21:05 +02:00
|
|
|
version = "0.10.11";
|
2025-06-12 19:36:28 +02:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "ternaris";
|
|
|
|
repo = "rosbags";
|
2025-06-13 01:10:50 +02:00
|
|
|
tag = "v${version}";
|
2025-08-10 13:21:05 +02:00
|
|
|
hash = "sha256-uHRmeHwNswZt5q+RSlzjqZiXhH6qYAkf8AufrRNbBtY=";
|
2025-06-12 19:36:28 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
build-system = [
|
|
|
|
setuptools
|
|
|
|
setuptools-scm
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
lz4
|
|
|
|
numpy
|
|
|
|
ruamel-yaml
|
|
|
|
typing-extensions
|
|
|
|
zstandard
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
declinate
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"rosbags"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Pure Python library to read, modify, convert, and write rosbag files";
|
|
|
|
homepage = "https://gitlab.com/ternaris/rosbags";
|
2025-06-13 01:10:50 +02:00
|
|
|
changelog = "https://gitlab.com/ternaris/rosbags/-/blob/${src.tag}/CHANGES.rst";
|
2025-06-12 19:36:28 +02:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ nim65s ];
|
|
|
|
};
|
|
|
|
}
|