diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-09-26 19:46:06 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-09-26 21:04:15 +0200 |
commit | 8e44a66b3b591ebcea085624193ba50fc66c245c (patch) | |
tree | 0553c22547425156acea22b57a593d7738380877 /pkgs/tools/misc/toilet/default.nix | |
parent | b34adfb71a4f68d87b761a5d2b5da2e238c1d135 (diff) | |
download | nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.tar nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.tar.gz nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.tar.bz2 nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.tar.lz nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.tar.xz nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.tar.zst nixlib-8e44a66b3b591ebcea085624193ba50fc66c245c.zip |
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>
Diffstat (limited to 'pkgs/tools/misc/toilet/default.nix')
-rw-r--r-- | pkgs/tools/misc/toilet/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/tools/misc/toilet/default.nix b/pkgs/tools/misc/toilet/default.nix new file mode 100644 index 000000000000..6ed479ac9c83 --- /dev/null +++ b/pkgs/tools/misc/toilet/default.nix @@ -0,0 +1,20 @@ +{ 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; + }; +} |