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