17 stdenv.mkDerivation (finalAttrs: {
18 pname = "supermariowar";
19 version = "2023-unstable-2024-09-21";
21 src = fetchFromGitHub {
23 repo = "supermariowar";
24 rev = "7e7ebe39cadba5d0bd9d7e87a08264332c2f1f12";
25 hash = "sha256-kBwaqw0GZvLWE5GqgfieLRU4s8wYFtTZyl1MgwWGbMc=";
26 fetchSubmodules = true;
44 cmakeFlags = [ "-DBUILD_STATIC_LIBS=OFF" ];
49 for app in smw smw-leveledit smw-worldedit; do
50 makeWrapper $out/games/$app $out/bin/$app \
51 --add-flags "--datadir $out/share/games/smw"
54 ln -s $out/games/smw-server $out/bin/smw-server
57 passthru.updateScript = unstableGitUpdater { };
60 description = "A fan-made multiplayer Super Mario Bros. style deathmatch game";
61 homepage = "https://github.com/mmatyas/supermariowar";
62 changelog = "https://github.com/mmatyas/supermariowar/blob/${finalAttrs.src.rev}/CHANGELOG";
63 license = lib.licenses.gpl2Plus;
64 maintainers = with lib.maintainers; [ theobori ];
66 platforms = lib.platforms.linux;