adding figlet

svn path=/nixpkgs/trunk/; revision=15316
This commit is contained in:
Marc Weber 2009-04-26 11:06:48 +00:00
parent 8d6fd9cb2b
commit 5d5995eb38
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
args:
args.stdenv.mkDerivation {
name = "figlet-222";
# some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/
src = args.fetchurl {
url = ftp://ftp.figlet.org/pub/figlet/program/unix/figlet222.tar.gz;
sha256 = "1y22hhwxhnwd6yrjgl5p3p44r22xzrhv9cksj58n85laac6jdfhs";
};
buildInputs =(with args; []);
preConfigure = ''
ensureDir $out/{man/man6,bin}
makeFlags="DESTDIR=$out/bin MANDIR=$out/man/man6 DEFAULTFONTDIR=$out/share/figlet"
'';
meta = {
description="program for making large letters out of ordinary text";
homepage = http://www.figlet.org/;
license = "AFL-2.1";
};
}

View File

@ -632,6 +632,10 @@ let
inherit fetchurl stdenv perl;
};
figlet = import ../tools/misc/figlet {
inherit fetchurl stdenv;
};
file = import ../tools/misc/file {
inherit fetchurl stdenv;
};