blightmud: 5.3.1 -> 5.6.1 (#521154)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-19 12:20:01 +00:00
committed by GitHub
+17 -4
View File
@@ -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;