spacetimedb: 1.11.3 -> 1.12.0 (#487408)

This commit is contained in:
Marcin Serwin
2026-02-22 08:49:22 +00:00
committed by GitHub
2 changed files with 28 additions and 9 deletions
+5 -5
View File
@@ -2,11 +2,11 @@
{ fetchLibrustyV8 }:
fetchLibrustyV8 {
version = "137.2.1";
version = "145.0.0";
shas = {
x86_64-linux = "sha256-1mV+UjvJsIyLFpBGVDrGxr/rqUgKzRRFwgnMyYTb/pM=";
aarch64-linux = "sha256-Rp7chA+GjsozCkMQrDnOoi4VhVJdrFZd1BuLfcRhGjw=";
x86_64-darwin = "sha256-tDMk+F6D/h4osYlzT2qAhqfHYUSDk3nL4RxEKjhBhD0=";
aarch64-darwin = "sha256-1eBUjKFalb/CIPfHYP8SvqIaxRep8vU6u9QFShOMUsQ=";
x86_64-linux = "sha256-chV1PAx40UH3Ute5k3lLrgfhih39Rm3KqE+mTna6ysE=";
aarch64-linux = "sha256-4IivYskhUSsMLZY97+g23UtUYh4p5jk7CzhMbMyqXyY=";
x86_64-darwin = "sha256-1jUuC+z7saQfPYILNyRJanD4+zOOhXU2ac/LFoytwho=";
aarch64-darwin = "sha256-yHa1eydVCrfYGgrZANbzgmmf25p7ui1VMas2A7BhG6k=";
};
}
+23 -4
View File
@@ -1,5 +1,6 @@
{
lib,
stdenv,
callPackage,
fetchFromGitHub,
rustPlatform,
@@ -14,20 +15,21 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "spacetimedb";
version = "1.11.3";
version = "1.12.0";
src = fetchFromGitHub {
owner = "clockworklabs";
repo = "spacetimedb";
rev = "02449737ca3b29e7e39679fccbef541a50f32094";
hash = "sha256-3e/uxyvxWsEpKV0ynDZ2rqLNIeuBtiG8EEoawswg+0o=";
tag = "v${finalAttrs.version}";
hash = "sha256-JuZ9odvMTIOIG4G0M4IBS9I9mWV+dk6qltIgn2a/W9I=";
};
cargoHash = "sha256-dV9Advw5Q+zeoMHloYtvRuhx0E3FAfmxjtgoien6ll4=";
cargoHash = "sha256-yAXcTNBITuBm7NPCTiS/RDaxMYgH6mq+ud3VsOELEqE=";
nativeBuildInputs = [
pkg-config
perl
rustPlatform.bindgenHook
];
buildInputs = [
@@ -45,6 +47,23 @@ rustPlatform.buildRustPackage (finalAttrs: {
# require wasm32-unknown-unknown target
"--skip=codegen"
"--skip=publish"
]
++ lib.optionals stdenv.isDarwin [
# flakes on darwin in nix build sandbox, timing out waiting for listen addr
"--skip=cli_can_ping_spacetimedb_on_disk"
"--skip=cli_can_publish_spacetimedb_on_disk"
"--skip=cli_can_publish_no_conflict_does_not_delete_data"
"--skip=cli_can_publish_no_conflict_with_delete_data_flag"
"--skip=cli_can_publish_no_conflict_without_delete_data_flag"
"--skip=cli_can_publish_with_automigration_change"
"--skip=cli_cannot_publish_automigration_change_without_yes_break_clients"
"--skip=cli_can_publish_automigration_change_with_on_conflict_and_yes_break_clients"
"--skip=cli_cannot_publish_automigration_change_with_on_conflict_without_yes_break_clients"
"--skip=cli_can_publish_automigration_change_with_delete_data_always_without_yes_break_clients"
"--skip=cli_can_publish_automigration_change_with_delete_data_always_and_yes_break_clients"
"--skip=cli_cannot_publish_breaking_change_without_flag"
"--skip=cli_can_publish_breaking_change_with_delete_data_flag"
"--skip=cli_can_publish_breaking_change_with_on_conflict_flag"
];
doInstallCheck = true;