2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-12-18 14:51:33 +01:00
|
|
|
name = "figlet-2.2.5";
|
2009-04-26 13:06:48 +02:00
|
|
|
|
|
|
|
# some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/
|
2010-07-28 13:55:54 +02:00
|
|
|
src = fetchurl {
|
2013-12-18 14:51:33 +01:00
|
|
|
url = ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.5.tar.gz;
|
|
|
|
sha256 = "0za1ax15x7myjl8jz271ybly8ln9kb9zhm1gf6rdlxzhs07w925z";
|
2009-04-26 13:06:48 +02:00
|
|
|
};
|
|
|
|
|
2012-06-11 09:15:10 +02:00
|
|
|
installPhase = "make prefix=$out install";
|
|
|
|
|
2009-04-26 13:06:48 +02:00
|
|
|
preConfigure = ''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/{man/man6,bin}
|
2009-04-26 13:06:48 +02:00
|
|
|
makeFlags="DESTDIR=$out/bin MANDIR=$out/man/man6 DEFAULTFONTDIR=$out/share/figlet"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Program for making large letters out of ordinary text";
|
|
|
|
homepage = http://www.figlet.org/;
|
|
|
|
license = "AFL-2.1";
|
2009-04-26 13:06:48 +02:00
|
|
|
};
|
|
|
|
}
|