Skip to content

Commit 5084af7

Browse files
authored
zitadel: 2.58.3 -> 2.71.1 (#388353)
2 parents fdedbda + 8fafc49 commit 5084af7

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

pkgs/by-name/zi/zitadel/console.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
let
2121
protobufGenerated = generateProtobufCode {
2222
pname = "zitadel-console";
23+
inherit version;
2324
nativeBuildInputs = [
2425
grpc-gateway
2526
protoc-gen-grpc-web
@@ -28,7 +29,7 @@ let
2829
workDir = "console";
2930
bufArgs = "../proto --include-imports --include-wkt";
3031
outputPath = "src/app/proto";
31-
hash = "sha256-n6BJ1gSSm66yOGdHcSea/nQbjiHZX2YX2zbFT4o75/4=";
32+
hash = "sha256-3WvfbhLpp03yP7Nb8bmZXYSlGJuEnBkBuyEzNVkIYZg=";
3233
};
3334
in
3435
stdenv.mkDerivation {
@@ -41,7 +42,7 @@ stdenv.mkDerivation {
4142

4243
offlineCache = fetchYarnDeps {
4344
yarnLock = "${zitadelRepo}/console/yarn.lock";
44-
hash = "sha256-MWATjfhIbo3cqpzOdXP52f/0Td60n99OTU1Qk6oWmXU=";
45+
hash = "sha256-+7CFBEKfRsqXbJR+BkLdB+pZ/dEEk4POGwZOVQ1LAUo=";
4546
};
4647

4748
nativeBuildInputs = [

pkgs/by-name/zi/zitadel/package.nix

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
}:
1717

1818
let
19-
version = "2.58.3";
19+
version = "2.71.1";
2020
zitadelRepo = fetchFromGitHub {
2121
owner = "zitadel";
2222
repo = "zitadel";
2323
rev = "v${version}";
24-
hash = "sha256-RXcJwGO8OQ38lbuy2uLTSkh6yUbyqY42FpwgMXC3g6c=";
24+
hash = "sha256-izYsf2Cc0jG8Wf82K6HsTVP+kAhmoEJVU7OJXhSzXLo=";
2525
};
26-
goModulesHash = "sha256-gp17dP67HX7Tx3Gq+kEu9xCYkfs/rGpqLFiKT7cKlrc=";
26+
goModulesHash = "sha256-mE0vhW1nW16SzqIu0C3q8qCXabJO7fZgkp7GeLWCwog=";
2727

2828
buildZitadelProtocGen =
2929
name:
@@ -55,14 +55,16 @@ let
5555
generateProtobufCode =
5656
{
5757
pname,
58+
version,
5859
nativeBuildInputs ? [ ],
5960
bufArgs ? "",
6061
workDir ? ".",
6162
outputPath,
6263
hash,
6364
}:
6465
stdenv.mkDerivation {
65-
name = "${pname}-buf-generated";
66+
pname = "${pname}-buf-generated";
67+
inherit version;
6668

6769
src = zitadelRepo;
6870
patches = [ ./console-use-local-protobuf-plugins.patch ];
@@ -88,6 +90,7 @@ let
8890

8991
protobufGenerated = generateProtobufCode {
9092
pname = "zitadel";
93+
inherit version;
9194
nativeBuildInputs = [
9295
grpc-gateway
9396
protoc-gen-authoption
@@ -97,7 +100,7 @@ let
97100
protoc-gen-zitadel
98101
];
99102
outputPath = ".artifacts";
100-
hash = "sha256-KRf11PNn7LtVFjG3NYUtPEJtLNbnxfzR4B69US07B3k=";
103+
hash = "sha256-11ByEuamYpCUeuqNr8ZVNCo4r3aSfuPXXhIu6mUqlzU=";
101104
};
102105
in
103106
buildGoModule rec {

0 commit comments

Comments
 (0)