2010-09-01 09:34:53 +01:00
|
|
|
{stdenv, fetchurl, ncurses, automake}:
|
2005-08-24 15:26:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 11:30:58 +00:00
|
|
|
name = "aalib-1.4rc5";
|
2013-12-18 11:33:12 +00:00
|
|
|
|
2005-08-24 15:26:32 +01:00
|
|
|
src = fetchurl {
|
2013-12-18 11:30:58 +00:00
|
|
|
url = mirror://sourceforge/aa-project/aalib-1.4rc5.tar.gz;
|
|
|
|
sha256 = "1vkh19gb76agvh4h87ysbrgy82hrw88lnsvhynjf4vng629dmpgv";
|
2005-08-24 15:26:32 +01:00
|
|
|
};
|
2010-09-01 09:34:53 +01:00
|
|
|
|
|
|
|
# The fuloong2f is not supported by aalib still
|
|
|
|
preConfigure = ''
|
|
|
|
cp ${automake}/share/automake*/config.{sub,guess} .
|
|
|
|
'';
|
|
|
|
|
2013-12-18 11:33:12 +00:00
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
configureFlags = "--without-x --with-ncurses=${ncurses}";
|
2013-10-05 15:22:46 +01:00
|
|
|
|
2015-04-01 21:29:38 +01:00
|
|
|
patches = stdenv.lib.optionals stdenv.isDarwin [ ./darwin.patch ];
|
|
|
|
|
2013-10-05 15:22:46 +01:00
|
|
|
meta = {
|
|
|
|
description = "ASCII art graphics library";
|
|
|
|
};
|
2005-08-24 15:26:32 +01:00
|
|
|
}
|