diff options
author | Maxwell <mhuan13@gmail.com> | 2016-03-18 13:04:56 -0400 |
---|---|---|
committer | Maxwell <mhuan13@gmail.com> | 2016-03-21 09:42:32 -0400 |
commit | 5c740539a889298ff285afc86584231d608e2893 (patch) | |
tree | c16a05f3769e3d78ffb77adabb7a1dcbf73be41b /pkgs/tools | |
parent | 0bf8a1a86df67649893726d50761567121330006 (diff) | |
download | nixlib-5c740539a889298ff285afc86584231d608e2893.tar nixlib-5c740539a889298ff285afc86584231d608e2893.tar.gz nixlib-5c740539a889298ff285afc86584231d608e2893.tar.bz2 nixlib-5c740539a889298ff285afc86584231d608e2893.tar.lz nixlib-5c740539a889298ff285afc86584231d608e2893.tar.xz nixlib-5c740539a889298ff285afc86584231d608e2893.tar.zst nixlib-5c740539a889298ff285afc86584231d608e2893.zip |
ansifilter: init at 1.15
Diffstat (limited to 'pkgs/tools')
-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 000000000000..e47369f47559 --- /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/"; + +} + |