mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
befd7e0ee8
This is primarily because version 222 is no longer available at the upstream FTP site. svn path=/nixpkgs/trunk/; revision=34439
23 lines
617 B
Nix
23 lines
617 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "figlet-2.2.4";
|
|
|
|
# some tools can be found here ftp://ftp.figlet.org/pub/figlet/util/
|
|
src = fetchurl {
|
|
url = ftp://ftp.figlet.org/pub/figlet/program/unix/figlet-2.2.4.tar.gz;
|
|
sha256 = "19qcmm9cmf78w1z7gbpyj9wmrfjzjl25sax9f2j37sijznrh263f";
|
|
};
|
|
|
|
preConfigure = ''
|
|
mkdir -p $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";
|
|
};
|
|
}
|