Loading nixos/tests/matrix/continuwuity.nix +5 −7 Original line number Diff line number Diff line { lib, ... }: let name = "continuwuity"; user = "alice"; pass = "my-secret-password"; in { inherit name; Loading @@ -12,8 +14,7 @@ in settings.global = { server_name = name; address = [ "0.0.0.0" ]; allow_registration = true; yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse = true; admin_execute = [ "users create ${user} ${pass}" ]; }; extraEnvironment.RUST_BACKTRACE = "yes"; }; Loading @@ -30,13 +31,10 @@ in async def main() -> None: # Connect to continuwuity client = nio.AsyncClient("http://continuwuity:6167", "alice") # Register as user alice response = await client.register("alice", "my-secret-password") client = nio.AsyncClient("http://continuwuity:6167", "${user}") # Log in as user alice response = await client.login("my-secret-password") response = await client.login("${pass}") # Create a new room response = await client.room_create(federate=False) Loading pkgs/by-name/ma/matrix-continuwuity/package.nix +3 −3 Original line number Diff line number Diff line Loading @@ -72,17 +72,17 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "matrix-continuwuity"; version = "0.5.4"; version = "0.5.5"; src = fetchFromGitea { domain = "forgejo.ellis.link"; owner = "continuwuation"; repo = "continuwuity"; tag = "v${finalAttrs.version}"; hash = "sha256-E2BJh0ynzUm3gHJXM0qKIgTyEEMD02PG+uPPdr/MKaQ="; hash = "sha256-mEdhnyzuW2fTP/dBpJE6EnvTH2fbQXOOwZgjJ1trQmU="; }; cargoHash = "sha256-yPQxEZwMQv7HqlQzQxwGrUzZOL21cfNymkNdkOA4GIk="; cargoHash = "sha256-giG4SZNh7uV7PIeHv0npfkgYi6lWn55YktKHOF7HGyM="; nativeBuildInputs = [ pkg-config Loading Loading
nixos/tests/matrix/continuwuity.nix +5 −7 Original line number Diff line number Diff line { lib, ... }: let name = "continuwuity"; user = "alice"; pass = "my-secret-password"; in { inherit name; Loading @@ -12,8 +14,7 @@ in settings.global = { server_name = name; address = [ "0.0.0.0" ]; allow_registration = true; yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse = true; admin_execute = [ "users create ${user} ${pass}" ]; }; extraEnvironment.RUST_BACKTRACE = "yes"; }; Loading @@ -30,13 +31,10 @@ in async def main() -> None: # Connect to continuwuity client = nio.AsyncClient("http://continuwuity:6167", "alice") # Register as user alice response = await client.register("alice", "my-secret-password") client = nio.AsyncClient("http://continuwuity:6167", "${user}") # Log in as user alice response = await client.login("my-secret-password") response = await client.login("${pass}") # Create a new room response = await client.room_create(federate=False) Loading
pkgs/by-name/ma/matrix-continuwuity/package.nix +3 −3 Original line number Diff line number Diff line Loading @@ -72,17 +72,17 @@ let in rustPlatform.buildRustPackage (finalAttrs: { pname = "matrix-continuwuity"; version = "0.5.4"; version = "0.5.5"; src = fetchFromGitea { domain = "forgejo.ellis.link"; owner = "continuwuation"; repo = "continuwuity"; tag = "v${finalAttrs.version}"; hash = "sha256-E2BJh0ynzUm3gHJXM0qKIgTyEEMD02PG+uPPdr/MKaQ="; hash = "sha256-mEdhnyzuW2fTP/dBpJE6EnvTH2fbQXOOwZgjJ1trQmU="; }; cargoHash = "sha256-yPQxEZwMQv7HqlQzQxwGrUzZOL21cfNymkNdkOA4GIk="; cargoHash = "sha256-giG4SZNh7uV7PIeHv0npfkgYi6lWn55YktKHOF7HGyM="; nativeBuildInputs = [ pkg-config Loading