nixpkgs/pkgs/tools/text/ansifilter/default.nix
R. RyanTM eccebc679c ansifilter: 2.9 -> 2.10
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.

These checks were done:

- built on NixOS
- ran `/nix/store/wp22r5r6lyy9is1b6nb0vdhh8n7jfazc-ansifilter-2.10/bin/ansifilter -h` got 0 exit code
- ran `/nix/store/wp22r5r6lyy9is1b6nb0vdhh8n7jfazc-ansifilter-2.10/bin/ansifilter --help` got 0 exit code
- ran `/nix/store/wp22r5r6lyy9is1b6nb0vdhh8n7jfazc-ansifilter-2.10/bin/ansifilter -V` and found version 2.10
- ran `/nix/store/wp22r5r6lyy9is1b6nb0vdhh8n7jfazc-ansifilter-2.10/bin/ansifilter -v` and found version 2.10
- ran `/nix/store/wp22r5r6lyy9is1b6nb0vdhh8n7jfazc-ansifilter-2.10/bin/ansifilter --version` and found version 2.10
- found 2.10 with grep in /nix/store/wp22r5r6lyy9is1b6nb0vdhh8n7jfazc-ansifilter-2.10
- directory tree listing: https://gist.github.com/88abe21b0d96cd9fa48d2f4a459faa6b
2018-04-02 01:07:15 +02:00

31 lines
772 B
Nix

{ fetchurl, stdenv, pkgconfig, boost, lua }:
stdenv.mkDerivation rec {
name = "ansifilter-${version}";
version = "2.10";
src = fetchurl {
url = "http://www.andre-simon.de/zip/ansifilter-${version}.tar.bz2";
sha256 = "0gzfxfpic47cs2kqrbvaw166ji62c5nq5cjhh3ngpm2fkm1wzli3";
};
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;
};
}