blightmud: modernize, move to by-name/

This commit is contained in:
pancaek
2025-10-28 18:15:07 -07:00
parent b427fd4b30
commit 36c03b6a2d
2 changed files with 8 additions and 10 deletions
@@ -9,14 +9,14 @@
withTTS ? false,
speechd-minimal,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "blightmud";
version = "5.3.1";
src = fetchFromGitHub {
owner = "blightmud";
repo = "blightmud";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-9GUul5EoejcnCQqq1oX+seBtxttYIUhgcexaZk+7chk=";
};
@@ -59,7 +59,7 @@ rustPlatform.buildRustPackage rec {
in
builtins.concatStringsSep " " (map skipFlag skipList);
meta = with lib; {
meta = {
description = "Terminal MUD client written in Rust";
mainProgram = "blightmud";
longDescription = ''
@@ -72,8 +72,8 @@ rustPlatform.buildRustPackage rec {
friendly mode.
'';
homepage = "https://github.com/Blightmud/Blightmud";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ cpu ];
platforms = platforms.linux ++ platforms.darwin;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ cpu ];
platforms = with lib.platforms; linux ++ darwin;
};
}
})
+1 -3
View File
@@ -13263,9 +13263,7 @@ with pkgs;
lua = lua5_1;
};
blightmud = callPackage ../games/blightmud { };
blightmud-tts = callPackage ../games/blightmud { withTTS = true; };
blightmud-tts = callPackage ../by-name/bl/blightmud/package.nix { withTTS = true; };
run-npush = callPackage ../by-name/np/npush/run.nix { };