nixpkgs-suyu/pkgs/development/libraries/aalib/default.nix

26 lines
605 B
Nix
Raw Normal View History

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