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 sha256 = "sha256-Zs8BfTakPV9q4gYJzjtYZHSU7mwOQfxoLFmL/859fTk=";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ boost lua ];
16 substituteInPlace src/makefile --replace "CC=g++" "CC=c++"
20 "PREFIX=${placeholder "out"}"
21 "conf_dir=/etc/ansifilter"
25 description = "Tool to convert ANSI to other formats";
27 Tool to remove ANSI or convert them to another format
28 (HTML, TeX, LaTeX, RTF, Pango or BBCode)
30 homepage = "http://www.andre-simon.de/doku/ansifilter/en/ansifilter.php";
31 license = licenses.gpl3;
32 maintainers = [ maintainers.Adjective-Object ];
33 platforms = platforms.linux ++ platforms.darwin;