37 lines
807 B
Nix
37 lines
807 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "aha";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
sha256 = "1gywad0rvvz3c5balz8cxsnx0562hj2ngzqyr8zsy2mb4pn0lpgv";
|
|
rev = version;
|
|
repo = "aha";
|
|
owner = "theZiz";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "ANSI HTML Adapter";
|
|
mainProgram = "aha";
|
|
longDescription = ''
|
|
aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
|
|
'';
|
|
homepage = "https://github.com/theZiz/aha";
|
|
changelog = "https://github.com/theZiz/aha/blob/${version}/CHANGELOG";
|
|
license = with licenses; [
|
|
lgpl2Plus
|
|
mpl11
|
|
];
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|