From 52dac84934608ca683bb3c0b8735f6760dfc26c2 Mon Sep 17 00:00:00 2001 From: Thomas Butter Date: Sun, 17 May 2026 04:35:32 +0000 Subject: [PATCH] blightmud: 5.3.1 -> 5.6.1 --- pkgs/by-name/bl/blightmud/package.nix | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/bl/blightmud/package.nix b/pkgs/by-name/bl/blightmud/package.nix index 4b46277fb7ae..c40a2e9ce116 100644 --- a/pkgs/by-name/bl/blightmud/package.nix +++ b/pkgs/by-name/bl/blightmud/package.nix @@ -11,16 +11,20 @@ }: rustPlatform.buildRustPackage (finalAttrs: { pname = "blightmud"; - version = "5.3.1"; + version = "5.6.1"; src = fetchFromGitHub { owner = "blightmud"; repo = "blightmud"; - rev = "v${finalAttrs.version}"; - hash = "sha256-9GUul5EoejcnCQqq1oX+seBtxttYIUhgcexaZk+7chk="; + tag = "v${finalAttrs.version}"; + hash = "sha256-fwWyQq6rb8qSR7aiQagOodkQRqanUJA2uH5I/Z1XfAA="; }; - cargoHash = "sha256-7cMd7pNWGV5DOSCLRW5fP3L1VnDTEsZZjhVz1AQLEXM="; + cargoHash = "sha256-4JArgwNFjnGwyEnWdjZkUlahloQu+C8qF9QyYo8s1jQ="; + + postPatch = '' + substituteInPlace Cargo.toml --replace-fail 'version = "0.0.0"' 'version = "${finalAttrs.version}"' + ''; buildFeatures = lib.optional withTTS "tts"; @@ -39,6 +43,8 @@ rustPlatform.buildRustPackage (finalAttrs: { NIX_CFLAGS_COMPILE = "-std=gnu17"; }; + __darwinAllowLocalNetworking = true; + checkFlags = let # Most of Blightmud's unit tests pass without trouble in the isolated @@ -58,6 +64,13 @@ rustPlatform.buildRustPackage (finalAttrs: { "test_tls_init_verify_err" "test_tls_init_no_verify" "test_tls_init_verify" + "test_exec" + "test_line_tags" + "test_lua_api" + "test_suggest" + "test_mccp2_decompression" + "test_mccp2_incremental" + "test_mccp2_negotiation" ]; in builtins.map (x: "--skip=" + x) skipList;