12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-AGKlkNpNdyD2cJGs350/076Qd/8M/nmRAaHJyefFRgw=";
23 cargoSha256 = "sha256-RI0J60DCspJ501VR3TpqD6pjzO6//Qq1NgQb45d32ks=";
25 buildFeatures = lib.optional withTTS "tts";
27 nativeBuildInputs = [ pkg-config rustPlatform.bindgenHook ];
29 buildInputs = [ alsa-lib openssl ] ++ lib.optionals withTTS [ speechd ];
33 # Most of Blightmud's unit tests pass without trouble in the isolated
34 # Nixpkgs build env. The following tests need to be skipped.
37 "test_gmcp_negotiation"
38 "test_ttype_negotiation"
45 "validate_assertion_fail"
47 skipFlag = test: "--skip " + test;
49 builtins.concatStringsSep " " (builtins.map skipFlag skipList);
52 description = "A terminal MUD client written in Rust";
54 Blightmud is a terminal client for connecting to Multi User Dungeon (MUD)
55 games. It is written in Rust and supports TLS, GMCP, MSDP, MCCP2, tab
56 completion, text searching and a split view for scrolling. Blightmud can
57 be customized with Lua scripting for aliases, triggers, timers, customized
58 status bars, and more. Blightmud supports several accessibility features
59 including an optional built-in text-to-speech engine and a screen reader
62 homepage = "https://github.com/Blightmud/Blightmud";
63 license = licenses.gpl3Plus;
64 maintainers = with maintainers; [ cpu ];
65 platforms = platforms.linux;