10 stdenv.mkDerivation rec {
15 url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
16 hash = "sha256-XqfP39B1LVoWklnaAFwYuQN2KANv2J2LgmJLrOycE5A=";
19 nativeBuildInputs = [ pkg-config ];
26 # avoid timestamp non-determinism with '-n'
27 substituteInPlace makefile --replace 'gzip -9f' 'gzip -9nf'
31 "PREFIX=${placeholder "out"}"
32 "conf_dir=/etc/ansifilter"
36 description = "Tool to convert ANSI to other formats";
37 mainProgram = "ansifilter";
39 Tool to remove ANSI or convert them to another format
40 (HTML, TeX, LaTeX, RTF, Pango or BBCode)
42 homepage = "http://www.andre-simon.de/doku/ansifilter/en/ansifilter.html";
43 license = licenses.gpl3;
44 maintainers = [ maintainers.Adjective-Object ];
45 platforms = platforms.linux ++ platforms.darwin;