diff --git a/nixos/tests/mollysocket.nix b/nixos/tests/mollysocket.nix index 8cbd0c0272e0..5135d79fcba9 100644 --- a/nixos/tests/mollysocket.nix +++ b/nixos/tests/mollysocket.nix @@ -16,12 +16,10 @@ in { }; testScript = '' - import json - mollysocket.wait_for_unit("mollysocket.service") mollysocket.wait_for_open_port(${toString port}) out = mollysocket.succeed("curl --fail http://127.0.0.1:${toString port}") - assert json.loads(out)["mollysocket"]["version"] == "${toString pkgs.mollysocket.version}" + assert "Version ${pkgs.mollysocket.version}" in out ''; }) diff --git a/pkgs/by-name/mo/mollysocket/package.nix b/pkgs/by-name/mo/mollysocket/package.nix index 6c9e18cc8f15..c282bbba2630 100644 --- a/pkgs/by-name/mo/mollysocket/package.nix +++ b/pkgs/by-name/mo/mollysocket/package.nix @@ -11,16 +11,16 @@ rustPlatform.buildRustPackage rec { pname = "mollysocket"; - version = "1.4.1"; + version = "1.5.1"; src = fetchFromGitHub { owner = "mollyim"; repo = "mollysocket"; rev = version; - hash = "sha256-vE5J4BKYmVqtowfxDDTOwFKws7phYRm9xKFPiDNuNn4="; + hash = "sha256-RRnMmdyr4FZHsdLjGvTRiSw+YC+OutWqsoEId7ZlSX0="; }; - cargoHash = "sha256-s/EhX5o6XuUqcrqhXY274MyWhRukgetfIZKQ4XNlq6Y="; + cargoHash = "sha256-BXllzuw01ANrk+osUsAlMyLRAptvxGO+rl0ygsCfewU="; nativeBuildInputs = [ pkg-config