diff options
Diffstat (limited to 'pkgs/tools/text/ansifilter/default.nix')
-rw-r--r-- | pkgs/tools/text/ansifilter/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/text/ansifilter/default.nix b/pkgs/tools/text/ansifilter/default.nix new file mode 100644 index 00000000000..e47369f4755 --- /dev/null +++ b/pkgs/tools/text/ansifilter/default.nix @@ -0,0 +1,27 @@ +{ fetchurl, stdenv, pkgconfig, boost, lua }: +let version = "1.15"; + pkgsha = "65dc20cc1a03d4feba990f830186404c90462d599e5f4b37610d4d822d67aec4"; +in stdenv.mkDerivation { + name = "ansifilter-${version}"; + buildInputs = [ + pkgconfig boost lua + ]; + src = fetchurl { + url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2"; + sha256 = pkgsha; + }; + meta = { + description = "Tool to convert ANSI to other formats"; + longDescription = '' + Tool to remove ANSI or convert them to another format + (HTML, TeX, LaTeX, RTF, Pango or BBCode) + ''; + + license = stdenv.lib.licenses.gpl1; + maintainers = [ stdenv.lib.maintainers.Adjective-Object ]; + }; + + makeFlags="PREFIX=$(out) conf_dir=$(out)/etc/ansifilter/"; + +} + |