Skip to content

Commit 1a11438

Browse files
authored
restate: 1.1.6 -> 1.2.2 (NixOS#397091)
2 parents 06b5af7 + 3bad74b commit 1a11438

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

pkgs/by-name/re/restate/package.nix

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
stdenv,
44
rustPlatform,
55
fetchFromGitHub,
6+
protobuf,
67

78
# nativeBuildInputs
89
cmake,
910
openssl,
1011
perl,
1112
pkg-config,
12-
protobuf,
1313

1414
# buildInputs
1515
rdkafka,
@@ -25,17 +25,17 @@
2525
}:
2626
rustPlatform.buildRustPackage (finalAttrs: {
2727
pname = "restate";
28-
version = "1.1.6";
28+
version = "1.3.0";
2929

3030
src = fetchFromGitHub {
3131
owner = "restatedev";
3232
repo = "restate";
3333
tag = "v${finalAttrs.version}";
34-
hash = "sha256-uDNPIL9Ox5rwWVzqWe74elHPGy6lSvWR1S7HsY6ATjc=";
34+
hash = "sha256-i/It8VWfkEO3MBQvBF9jDhL8s3BdJyg4+grdxO+GoQs=";
3535
};
3636

3737
useFetchCargoVendor = true;
38-
cargoHash = "sha256-z7VAKU4bi6pX2z4jCKWDfQt8FFLN7ugnW2LOy6IHz/w=";
38+
cargoHash = "sha256-TNjxRFEAFY/6ZYCzPD5NcqMEwyM6HZnkfrt/hZkIHMY=";
3939

4040
env = {
4141
PROTOC = lib.getExe protobuf;
@@ -50,7 +50,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
5050
targetFlags = lib.fix (self: {
5151
build = [
5252
"-C force-unwind-tables"
53-
"-C debug-assertions"
5453
"--cfg uuid_unstable"
5554
"--cfg tokio_unstable"
5655
];
@@ -97,6 +96,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
9796
# Feature resolution seems to be failing due to this https://github.com/rust-lang/cargo/issues/7754
9897
auditable = false;
9998

99+
checkFlags = [
100+
# Error: deadline has elapsed
101+
"--skip replicated_loglet"
102+
103+
# TIMEOUT [ 180.006s]
104+
"--skip fast_forward_over_trim_gap"
105+
106+
# TIMEOUT (could be related to https://github.com/restatedev/restate/issues/3043)
107+
"--skip restatectl_smoke_test"
108+
];
109+
100110
__darwinAllowLocalNetworking = true;
101111

102112
nativeInstallCheckInputs = [
@@ -122,7 +132,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
122132
};
123133

124134
meta = {
125-
description = "Restate is a platform for developing distributed fault-tolerant applications.";
135+
description = "Platform for developing distributed fault-tolerant applications.";
126136
homepage = "https://restate.dev";
127137
changelog = "https://github.com/restatedev/restate/releases/tag/v${finalAttrs.version}";
128138
mainProgram = "restate";

0 commit comments

Comments
 (0)