mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
8e44a66b3b
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>
21 lines
556 B
Nix
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;
|
|
};
|
|
}
|