summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilhem Saurel <guilhem.saurel@laas.fr>2025-06-12 19:36:28 +0200
committerGuilhem Saurel <guilhem.saurel@laas.fr>2025-06-12 19:47:45 +0200
commit9cb24fe48da6ffc1856a41e4c28a85b450cc9b58 (patch)
tree93bf9e67df234e1939081eb4a525195b29e106fb
parentpython3Packages.declinate: init at 0.0.6 (diff)
downloadnixpkgs-9cb24fe48da6ffc1856a41e4c28a85b450cc9b58.tar.gz
python3Packages.rosbags: init at 0.10.10
-rw-r--r--pkgs/development/python-modules/rosbags/default.nix66
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 68 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rosbags/default.nix b/pkgs/development/python-modules/rosbags/default.nix
new file mode 100644
index 000000000000..18a4340d1475
--- /dev/null
+++ b/pkgs/development/python-modules/rosbags/default.nix
@@ -0,0 +1,66 @@
+{
+ lib,
+ buildPythonPackage,
+ fetchFromGitLab,
+
+ # build-system
+ setuptools,
+ setuptools-scm,
+
+ # dependencies
+ lz4,
+ numpy,
+ ruamel-yaml,
+ typing-extensions,
+ zstandard,
+
+ # nativeCheckInputs
+ pytestCheckHook,
+
+ # checkInputs
+ declinate,
+}:
+
+buildPythonPackage rec {
+ pname = "rosbags";
+ version = "0.10.10";
+ pyproject = true;
+
+ src = fetchFromGitLab {
+ owner = "ternaris";
+ repo = "rosbags";
+ rev = "v${version}";
+ hash = "sha256-EOuvvC6VTnhZA9M6ZKn0TNjbCm+lXH4/TboDS0hcw1A=";
+ };
+
+ 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";
+ changelog = "https://gitlab.com/ternaris/rosbags/-/blob/${src.rev}/CHANGES.rst";
+ license = lib.licenses.asl20;
+ maintainers = with lib.maintainers; [ nim65s ];
+ };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 1e87fefafc40..81672202c763 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -15510,6 +15510,8 @@ self: super: with self; {
ropper = callPackage ../development/python-modules/ropper { };
+ rosbags = callPackage ../development/python-modules/rosbags { };
+
rotary-embedding-torch = callPackage ../development/python-modules/rotary-embedding-torch { };
rouge-score = callPackage ../development/python-modules/rouge-score { };