Skip to content

Commit 8ffd4b8

Browse files
authored
[Backport release-25.11] matrix-continuwuity: 0.5.4 -> 0.5.5 (#492612)
2 parents 18ec3cd + 0dcc247 commit 8ffd4b8

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

nixos/tests/matrix/continuwuity.nix

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{ lib, ... }:
22
let
33
name = "continuwuity";
4+
user = "alice";
5+
pass = "my-secret-password";
46
in
57
{
68
inherit name;
@@ -12,8 +14,7 @@ in
1214
settings.global = {
1315
server_name = name;
1416
address = [ "0.0.0.0" ];
15-
allow_registration = true;
16-
yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse = true;
17+
admin_execute = [ "users create ${user} ${pass}" ];
1718
};
1819
extraEnvironment.RUST_BACKTRACE = "yes";
1920
};
@@ -30,13 +31,10 @@ in
3031
3132
async def main() -> None:
3233
# Connect to continuwuity
33-
client = nio.AsyncClient("http://continuwuity:6167", "alice")
34-
35-
# Register as user alice
36-
response = await client.register("alice", "my-secret-password")
34+
client = nio.AsyncClient("http://continuwuity:6167", "${user}")
3735
3836
# Log in as user alice
39-
response = await client.login("my-secret-password")
37+
response = await client.login("${pass}")
4038
4139
# Create a new room
4240
response = await client.room_create(federate=False)

pkgs/by-name/ma/matrix-continuwuity/package.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,17 @@ let
7272
in
7373
rustPlatform.buildRustPackage (finalAttrs: {
7474
pname = "matrix-continuwuity";
75-
version = "0.5.4";
75+
version = "0.5.5";
7676

7777
src = fetchFromGitea {
7878
domain = "forgejo.ellis.link";
7979
owner = "continuwuation";
8080
repo = "continuwuity";
8181
tag = "v${finalAttrs.version}";
82-
hash = "sha256-E2BJh0ynzUm3gHJXM0qKIgTyEEMD02PG+uPPdr/MKaQ=";
82+
hash = "sha256-mEdhnyzuW2fTP/dBpJE6EnvTH2fbQXOOwZgjJ1trQmU=";
8383
};
8484

85-
cargoHash = "sha256-yPQxEZwMQv7HqlQzQxwGrUzZOL21cfNymkNdkOA4GIk=";
85+
cargoHash = "sha256-giG4SZNh7uV7PIeHv0npfkgYi6lWn55YktKHOF7HGyM=";
8686

8787
nativeBuildInputs = [
8888
pkg-config

0 commit comments

Comments
 (0)