mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
Merge pull request #23314 from ndowens/ansifilter
Ansifilter: 1.15 -> 2.4
This commit is contained in:
commit
de90e320c8
1 changed files with 18 additions and 16 deletions
|
@ -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/";
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue