summary refs log tree commit diff
path: root/pkgs/tools/misc/toilet/default.nix
blob: 6ed479ac9c831c445aea45a759ce0da0abd022d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
  };
}