Loading maintainers/maintainer-list.nix +7 −0 Original line number Diff line number Diff line Loading @@ -19932,6 +19932,13 @@ github = "thenonameguy"; githubId = 2217181; }; theobori = { name = "Théo Bori"; email = "theo1.bori@epitech.eu"; github = "theobori"; githubId = 71843723; keys = [ { fingerprint = "EEFB CC3A C529 CFD1 943D A75C BDD5 7BE9 9D55 5965"; } ]; }; therealansh = { email = "tyagiansh23@gmail.com"; github = "therealansh"; Loading pkgs/by-name/su/supermariowar/package.nix 0 → 100644 +68 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, pkg-config, enet, yaml-cpp, SDL2, SDL2_image, SDL2_mixer, zlib, unstableGitUpdater, }: stdenv.mkDerivation (finalAttrs: { pname = "supermariowar"; version = "2.0-unstable-2024-06-22"; src = fetchFromGitHub { owner = "mmatyas"; repo = "supermariowar"; rev = "e646679c119a3b6c93c48e505564e8d24441fe4e"; hash = "sha256-bA/Pu47Rm1MrnJHIrRvOevI3LXj207GFcJloP94/LOA="; fetchSubmodules = true; }; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ enet yaml-cpp SDL2 SDL2_image SDL2_mixer zlib ]; cmakeFlags = [ "-DBUILD_STATIC_LIBS=OFF" ]; postInstall = '' mkdir -p $out/bin for app in smw smw-leveledit smw-worldedit; do chmod +x $out/games/$app cat << EOF > $out/bin/$app $out/games/$app --datadir $out/share/games/smw EOF chmod +x $out/bin/$app done ln -s $out/games/smw-server $out/bin/smw-server ''; passthru.updateScript = unstableGitUpdater { }; meta = { description = "A fan-made multiplayer Super Mario Bros. style deathmatch game"; homepage = "https://github.com/mmatyas/supermariowar"; changelog = "https://github.com/mmatyas/supermariowar/blob/${finalAttrs.src.rev}/CHANGELOG"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ theobori ]; mainProgram = "smw"; platforms = lib.platforms.linux; }; }) Loading
maintainers/maintainer-list.nix +7 −0 Original line number Diff line number Diff line Loading @@ -19932,6 +19932,13 @@ github = "thenonameguy"; githubId = 2217181; }; theobori = { name = "Théo Bori"; email = "theo1.bori@epitech.eu"; github = "theobori"; githubId = 71843723; keys = [ { fingerprint = "EEFB CC3A C529 CFD1 943D A75C BDD5 7BE9 9D55 5965"; } ]; }; therealansh = { email = "tyagiansh23@gmail.com"; github = "therealansh"; Loading
pkgs/by-name/su/supermariowar/package.nix 0 → 100644 +68 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, cmake, pkg-config, enet, yaml-cpp, SDL2, SDL2_image, SDL2_mixer, zlib, unstableGitUpdater, }: stdenv.mkDerivation (finalAttrs: { pname = "supermariowar"; version = "2.0-unstable-2024-06-22"; src = fetchFromGitHub { owner = "mmatyas"; repo = "supermariowar"; rev = "e646679c119a3b6c93c48e505564e8d24441fe4e"; hash = "sha256-bA/Pu47Rm1MrnJHIrRvOevI3LXj207GFcJloP94/LOA="; fetchSubmodules = true; }; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ enet yaml-cpp SDL2 SDL2_image SDL2_mixer zlib ]; cmakeFlags = [ "-DBUILD_STATIC_LIBS=OFF" ]; postInstall = '' mkdir -p $out/bin for app in smw smw-leveledit smw-worldedit; do chmod +x $out/games/$app cat << EOF > $out/bin/$app $out/games/$app --datadir $out/share/games/smw EOF chmod +x $out/bin/$app done ln -s $out/games/smw-server $out/bin/smw-server ''; passthru.updateScript = unstableGitUpdater { }; meta = { description = "A fan-made multiplayer Super Mario Bros. style deathmatch game"; homepage = "https://github.com/mmatyas/supermariowar"; changelog = "https://github.com/mmatyas/supermariowar/blob/${finalAttrs.src.rev}/CHANGELOG"; license = lib.licenses.gpl2Plus; maintainers = with lib.maintainers; [ theobori ]; mainProgram = "smw"; platforms = lib.platforms.linux; }; })