Gaetan Lepage
2026-07-07 11:22:55 +00:00
parent 476fa49775
commit 6be23b0af4
3 changed files with 26 additions and 7 deletions
+13 -6
View File
@@ -4,6 +4,7 @@
rustPlatform,
fetchFromGitHub,
arrow-cpp,
# nativeBuildInputs
binaryen,
lld,
@@ -12,6 +13,7 @@
protobuf,
rustfmt,
nasm,
# buildInputs
freetype,
glib,
@@ -19,7 +21,10 @@
libxkbcommon,
openssl,
vulkan-loader,
# linux-only:
udev,
wayland,
versionCheckHook,
# passthru
nix-update-script,
@@ -35,10 +40,9 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "rerun";
version = "0.33.1";
version = "0.34.0";
__structuredAttrs = true;
strictDeps = true;
outputs = [
"out"
@@ -49,7 +53,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
owner = "rerun-io";
repo = "rerun";
tag = finalAttrs.version;
hash = "sha256-GCIrvNNktW9h2/s90tTxFOmiIRAbWQWOS3Ti03EZ/GM=";
hash = "sha256-d+A8SQlbHP8Y1mCtwxGybPBvyJUnCgPLmsP4tiA9/Nk=";
};
# The path in `build.rs` is wrong for some reason, so we patch it to make the passthru tests work
@@ -58,7 +62,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
--replace-fail '"rerun_sdk/rerun_cli/rerun"' '"rerun_sdk/rerun"'
'';
cargoHash = "sha256-wCJKerOgOUWNn3wBeHEKn92qzGdICX6P52B2FT5wcZE=";
cargoHash = "sha256-qomsbQaYBADWPi1gIZt2Y6lL5mPn468kQY7w9NBTXbg=";
cargoBuildFlags = [
"--package"
@@ -139,11 +143,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
freetype
glib
gtk3
(lib.getDev openssl)
libxkbcommon
openssl
vulkan-loader
]
++ lib.optionals stdenv.hostPlatform.isLinux [ (lib.getLib wayland) ];
++ lib.optionals stdenv.hostPlatform.isLinux [
udev
(lib.getLib wayland)
];
propagatedBuildInputs = [ arrow-cpp ];
@@ -22,7 +22,7 @@ buildPythonPackage (finalAttrs: {
inherit (finalAttrs) version;
format = "wheel";
python = "py2.py3";
hash = "sha256-PiZOxfVyqTwK0oSQ57TLpDIzuZUSecSEDmJtfdqqCGo=";
hash = "sha256-zWhOls/u1g+pv2k5IGROlS/Jp2j2s6Whrdl7zc93vVw=";
};
pythonRelaxDeps = [
@@ -105,11 +105,23 @@ buildPythonPackage {
postPhases = lib.optionals stdenv.hostPlatform.isLinux [ "addDlopenRunpathsPhase" ];
disabledTests = [
# RuntimeError: MP4 error: MP4 demux: MP4 error: file contains a box with a larger size than it
"test_allow_b_frames_opts_in_to_b_frame_inputs"
"test_asset_mode_timeline_type_timestamp_applies_to_index_chunk"
"test_b_frames_in_stream_mode_raise"
"test_custom_entity_path_applies_to_every_chunk"
"test_default_mode_produces_video_stream_chunks"
"test_stream_mode_chunk_by_gop_false_emits_one_sample_per_chunk"
"test_stream_mode_chunk_by_gop_true_packs_multiple_samples"
"test_timeline_type_timestamp_produces_timestamp_typed_column"
# ConnectionError: Connection: connecting to server: transport error
"test_batch_shape"
"test_decode_matrix"
"test_fixed_rate_sampling_duplicates_decode_correctly"
"test_isolated_streams"
"test_off_grid_capture_rate_decodes_correctly"
"test_roundtrip_parity"
"test_save_screenshot"
"test_send_dataframe_roundtrip"
"test_server_failed_table_creation_does_not_leak_entry"