1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/tools/misc/figlet/default.nix

23 lines
642 B
Nix
Raw Normal View History

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";
};
}