19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
27 hash = "sha256-NlvtYtmJNYhOC1BtIxIij3NEQHWAGOeD4XgRq7evjzE=";
30 # We can't use just DESTDIR because with it we'll have /nix/store/...-exult-1.10.1/nix/store/...-exult-1.10.1/bin
32 substituteInPlace macosx/macosx.am \
33 --replace-fail DESTDIR NIX_DESTDIR
50 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
54 enableParallelBuilding = true;
56 makeFlags = [ "NIX_DESTDIR=$(out)" ]; # see postPatch
57 configureFlags = lib.optional (!enableTools) "--disable-tools";
60 description = "Exult is a project to recreate Ultima VII for modern operating systems";
62 Ultima VII, an RPG from the early 1990's, still has a huge following. But,
63 being a DOS game with a very nonstandard memory manager, it is difficult
64 to run it on the latest computers. Exult is a project that created an
65 Ultima VII game engine that runs on modern operating systems, capable of
66 using the data and graphics files that come with the game. Exult aims to
67 let those people who own Ultima VII play the game on modern hardware, in
68 as close to (or perhaps even surpassing) its original splendor as is
71 homepage = "http://exult.info";
72 license = licenses.gpl2Plus;
73 maintainers = with maintainers; [ azahi ];
74 mainProgram = "exult";