2017-05-21 22:56:02 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, xmlto }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vms-empire";
|
2020-02-10 16:19:20 +00:00
|
|
|
version = "1.15";
|
2017-05-21 22:56:02 +01:00
|
|
|
|
|
|
|
src = fetchurl{
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.catb.org/~esr/vms-empire/${pname}-${version}.tar.gz";
|
2020-02-10 16:19:20 +00:00
|
|
|
sha256 = "1vcpglkimcljb8s1dp6lzr5a0vbfxmh6xf37cmb8rf9wc3pghgn3";
|
2017-05-21 22:56:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ ncurses xmlto ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|^install: empire\.6 uninstall|install: empire.6|' -e 's|usr/||g' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "The ancestor of all expand/explore/exploit/exterminate games";
|
|
|
|
longDescription = ''
|
|
|
|
Empire is a simulation of a full-scale war between two emperors, the
|
|
|
|
computer and you. Naturally, there is only room for one, so the object of
|
|
|
|
the game is to destroy the other. The computer plays by the same rules
|
|
|
|
that you do. This game was ancestral to all later
|
|
|
|
expand/explore/exploit/exterminate games, including Civilization and
|
|
|
|
Master of Orion.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://catb.org/~esr/vms-empire/";
|
2017-05-21 22:56:02 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|