ansifilter: 1.15 -> 2.4

This commit is contained in:
ndowens 2017-02-28 19:21:59 -06:00
parent 61785c5531
commit 38d9c0b88f

View file

@ -1,28 +1,30 @@
{ fetchurl, stdenv, pkgconfig, boost, lua }:
let version = "1.15";
pkgsha = "65dc20cc1a03d4feba990f830186404c90462d599e5f4b37610d4d822d67aec4";
in stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "ansifilter-${version}";
buildInputs = [
pkgconfig boost lua
];
version = "2.4";
src = fetchurl {
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
sha256 = pkgsha;
sha256 = "c57cb878afa7191c7b7db3c086a344b4234df814aed632596619a4bda5941d48";
};
meta = {
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)
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 ];
platforms = stdenv.lib.platforms.linux;
license = licenses.gpl1;
maintainers = maintainers.Adjective-Object;
platforms = platforms.linux;
};
makeFlags="PREFIX=$(out) conf_dir=$(out)/etc/ansifilter/";
}