2022-09-01 11:50:02 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, SDL2
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, libogg
|
|
|
|
, libtool
|
|
|
|
, libvorbis
|
|
|
|
, pkg-config
|
|
|
|
, zlib
|
|
|
|
, enableTools ? false
|
|
|
|
}:
|
2009-07-09 11:47:17 +01:00
|
|
|
|
2014-07-22 13:51:05 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2021-06-22 22:44:58 +01:00
|
|
|
pname = "exult";
|
2022-09-01 11:50:02 +01:00
|
|
|
version = "1.8";
|
2014-07-22 13:51:05 +01:00
|
|
|
|
2022-09-01 11:50:02 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "exult";
|
|
|
|
repo = "exult";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-Y7FpgiGuqR4ZG/PNSfLcNcRWeeC7GebUTighXsCfy+E=";
|
2006-09-12 01:15:05 +01:00
|
|
|
};
|
2006-09-12 16:23:28 +01:00
|
|
|
|
2022-09-01 11:50:02 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
SDL2
|
|
|
|
libogg
|
|
|
|
libvorbis
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = lib.optional (!enableTools) "--disable-tools";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Exult is a project to recreate Ultima VII for modern operating systems";
|
|
|
|
longDescription = ''
|
|
|
|
Ultima VII, an RPG from the early 1990's, still has a huge following. But,
|
|
|
|
being a DOS game with a very nonstandard memory manager, it is difficult
|
|
|
|
to run it on the latest computers. Exult is a project that created an
|
|
|
|
Ultima VII game engine that runs on modern operating systems, capable of
|
|
|
|
using the data and graphics files that come with the game. Exult aims to
|
|
|
|
let those people who own Ultima VII play the game on modern hardware, in
|
|
|
|
as close to (or perhaps even surpassing) its original splendor as is
|
|
|
|
possible.
|
|
|
|
'';
|
|
|
|
homepage = "http://exult.info";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ azahi eelco ];
|
2006-10-12 11:53:16 +01:00
|
|
|
};
|
2006-09-12 01:15:05 +01:00
|
|
|
}
|