20 stdenv.mkDerivation rec {
24 src = fetchFromGitHub {
28 hash = "sha256-NlvtYtmJNYhOC1BtIxIij3NEQHWAGOeD4XgRq7evjzE=";
31 # 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
33 substituteInPlace macosx/macosx.am \
34 --replace-fail DESTDIR NIX_DESTDIR
53 ++ lib.optionals stdenv.hostPlatform.isDarwin [
57 enableParallelBuilding = true;
59 makeFlags = [ "NIX_DESTDIR=$(out)" ]; # see postPatch
60 configureFlags = lib.optional (!enableTools) "--disable-tools";
63 description = "Exult is a project to recreate Ultima VII for modern operating systems";
65 Ultima VII, an RPG from the early 1990's, still has a huge following. But,
66 being a DOS game with a very nonstandard memory manager, it is difficult
67 to run it on the latest computers. Exult is a project that created an
68 Ultima VII game engine that runs on modern operating systems, capable of
69 using the data and graphics files that come with the game. Exult aims to
70 let those people who own Ultima VII play the game on modern hardware, in
71 as close to (or perhaps even surpassing) its original splendor as is
74 homepage = "http://exult.info";
75 license = licenses.gpl2Plus;
76 maintainers = with maintainers; [ azahi ];
77 mainProgram = "exult";