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}
|
2014-12-17 19:11:30 +01:00
|
|
|
makeFlags="DESTDIR=$out/bin MANDIR=$out/man/man6 DEFAULTFONTDIR=$out/share/figlet CC=cc LD=cc"
|
2009-04-26 13:06:48 +02:00
|
|
|
'';
|
|
|
|
|
2014-11-06 01:44:33 +01:00
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Program for making large letters out of ordinary text";
|
|
|
|
homepage = http://www.figlet.org/;
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.afl21;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-04-26 13:06:48 +02:00
|
|
|
};
|
|
|
|
}
|