1 { fetchurl, lib, stdenv, pkg-config, boost, lua }:
3 stdenv.mkDerivation rec {
8 url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
9 hash = "sha256-XqfP39B1LVoWklnaAFwYuQN2KANv2J2LgmJLrOycE5A=";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ boost lua ];
16 # avoid timestamp non-determinism with '-n'
17 substituteInPlace makefile --replace 'gzip -9f' 'gzip -9nf'
21 "PREFIX=${placeholder "out"}"
22 "conf_dir=/etc/ansifilter"
26 description = "Tool to convert ANSI to other formats";
27 mainProgram = "ansifilter";
29 Tool to remove ANSI or convert them to another format
30 (HTML, TeX, LaTeX, RTF, Pango or BBCode)
32 homepage = "http://www.andre-simon.de/doku/ansifilter/en/ansifilter.html";
33 license = licenses.gpl3;
34 maintainers = [ maintainers.Adjective-Object ];
35 platforms = platforms.linux ++ platforms.darwin;