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