summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2009-04-26 11:06:48 +0000
committerMarc Weber <marco-oweber@gmx.de>2009-04-26 11:06:48 +0000
commit5d5995eb38ef672a6e1fc47fce7d933ad979f38a (patch)
tree4d314d9e7841447f3eb4aab7394ed417c28df587 /pkgs/tools/misc
parent8d6fd9cb2bbf1443c7d4ad7a6c81dcfcadb39193 (diff)
downloadnixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.tar
nixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.tar.gz
nixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.tar.bz2
nixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.tar.lz
nixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.tar.xz
nixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.tar.zst
nixlib-5d5995eb38ef672a6e1fc47fce7d933ad979f38a.zip
adding figlet
svn path=/nixpkgs/trunk/; revision=15316
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/figlet/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/misc/figlet/default.nix b/pkgs/tools/misc/figlet/default.nix
new file mode 100644
index 000000000000..b42919430dd7
--- /dev/null
+++ b/pkgs/tools/misc/figlet/default.nix
@@ -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";
+  };
+}