nixpkgs/pkgs/tools/text/ansifilter/default.nix
R. RyanTM 179ed22102 ansifilter: 2.12 -> 2.13 (#52926)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ansifilter/versions
2018-12-29 20:16:18 +01:00

31 lines
772 B
Nix

{ fetchurl, stdenv, pkgconfig, boost, lua }:
stdenv.mkDerivation rec {
name = "ansifilter-${version}";
version = "2.13";
src = fetchurl {
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
sha256 = "1h0j30lg1lcr8p5dlhrgpm76bvlnhxn2cr3jqjnvnb2icgbyc8j0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ boost lua ];
makeFlags = "PREFIX=$(out) conf_dir=/etc/ansifilter";
meta = with stdenv.lib; {
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 = licenses.gpl1;
maintainers = [ maintainers.Adjective-Object ];
platforms = platforms.linux;
};
}