Merge pull request #23314 from ndowens/ansifilter
Ansifilter: 1.15 -> 2.4
This commit is contained in:
commit
de90e320c8
@ -1,28 +1,30 @@
|
|||||||
{ fetchurl, stdenv, pkgconfig, boost, lua }:
|
{ fetchurl, stdenv, pkgconfig, boost, lua }:
|
||||||
let version = "1.15";
|
|
||||||
pkgsha = "65dc20cc1a03d4feba990f830186404c90462d599e5f4b37610d4d822d67aec4";
|
stdenv.mkDerivation rec {
|
||||||
in stdenv.mkDerivation {
|
|
||||||
name = "ansifilter-${version}";
|
name = "ansifilter-${version}";
|
||||||
buildInputs = [
|
version = "2.4";
|
||||||
pkgconfig boost lua
|
|
||||||
];
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
|
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";
|
description = "Tool to convert ANSI to other formats";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Tool to remove ANSI or convert them to another format
|
Tool to remove ANSI or convert them to another format
|
||||||
(HTML, TeX, LaTeX, RTF, Pango or BBCode)
|
(HTML, TeX, LaTeX, RTF, Pango or BBCode)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
license = stdenv.lib.licenses.gpl1;
|
license = licenses.gpl1;
|
||||||
maintainers = [ stdenv.lib.maintainers.Adjective-Object ];
|
maintainers = maintainers.Adjective-Object;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags="PREFIX=$(out) conf_dir=$(out)/etc/ansifilter/";
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user