2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-04-27 23:10:14 +01:00
|
|
|
|
2016-01-24 19:31:44 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "aha";
|
2020-08-13 01:17:27 +01:00
|
|
|
version = "0.5.1";
|
2015-04-27 23:10:14 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2020-08-13 01:17:27 +01:00
|
|
|
sha256 = "1gywad0rvvz3c5balz8cxsnx0562hj2ngzqyr8zsy2mb4pn0lpgv";
|
2015-04-27 23:10:14 +01:00
|
|
|
rev = version;
|
|
|
|
repo = "aha";
|
|
|
|
owner = "theZiz";
|
|
|
|
};
|
|
|
|
|
2015-11-26 17:44:44 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-04-27 23:10:14 +01:00
|
|
|
description = "ANSI HTML Adapter";
|
|
|
|
longDescription = ''
|
|
|
|
aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/theZiz/aha";
|
2015-04-27 23:10:14 +01:00
|
|
|
license = with licenses; [ lgpl2Plus mpl11 ];
|
2018-07-16 20:57:23 +01:00
|
|
|
maintainers = with maintainers; [ pSub ];
|
2020-08-13 05:20:00 +01:00
|
|
|
platforms = platforms.all;
|
2015-04-27 23:10:14 +01:00
|
|
|
};
|
|
|
|
}
|