1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/misc/toilet/default.nix
aszlig 8e44a66b3b
toilet: init at 0.3
It's a replacement for the figlet utility based on libcaca and has a few
more features, such as:

 * The ability to load FIGlet fonts
 * Support for Unicode input and output
 * Support for colour fonts
 * Support for colour output
 * Support for various output formats: HTML, IRC, ANSI...

I've stolen the description from the Debian package:

https://packages.debian.org/sid/toilet

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-09-26 21:04:15 +02:00

21 lines
556 B
Nix

{ stdenv, fetchurl, pkgconfig, libcaca, figlet }:
stdenv.mkDerivation rec {
name = "toilet-${version}";
version = "0.3";
src = fetchurl {
url = "http://caca.zoy.org/raw-attachment/wiki/toilet/${name}.tar.gz";
sha256 = "1pl118qb7g0frpgl9ps43w4sd0psjirpmq54yg1kqcclqcqbbm49";
};
buildInputs = [ pkgconfig libcaca ];
meta = {
description = "Display large colourful characters in text mode";
homepage = "http://caca.zoy.org/wiki/toilet";
license = stdenv.lib.licenses.wtfpl;
platforms = stdenv.lib.platforms.all;
};
}