Add aha 0.4.8: quick & dirty ANSI-to-HTML converter

This commit is contained in:
Tobias Geerinckx-Rice 2015-04-28 00:10:14 +02:00
parent 4f0b6fa3ba
commit 999241a907
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchFromGitHub }:
let version = "0.4.8"; in
stdenv.mkDerivation rec {
name = "aha-${version}";
src = fetchFromGitHub {
sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
rev = version;
repo = "aha";
owner = "theZiz";
};
meta = with stdenv.lib; {
inherit version;
description = "ANSI HTML Adapter";
longDescription = ''
aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
'';
homepage = https://github.com/theZiz/aha;
downloadPage = https://github.com/theZiz/aha/releases;
license = with licenses; [ lgpl2Plus mpl11 ];
platforms = with platforms; linux;
maintainers = with maintainers; [ nckx ];
};
makeFlags = "PREFIX=$(out)";
enableParallelBuilding = true;
}

View file

@ -499,6 +499,8 @@ let
afl = callPackage ../tools/security/afl { };
aha = callPackage ../tools/text/aha { };
ahcpd = callPackage ../tools/networking/ahcpd { };
aiccu = callPackage ../tools/networking/aiccu { };