29 lines
720 B
Nix
29 lines
720 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
|
|
let version = "0.4.8"; in
|
|
stdenv.mkDerivation {
|
|
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;
|
|
license = with licenses; [ lgpl2Plus mpl11 ];
|
|
platforms = with platforms; linux;
|
|
maintainers = with maintainers; [ nckx ];
|
|
};
|
|
|
|
makeFlags = "PREFIX=$(out)";
|
|
|
|
enableParallelBuilding = true;
|
|
}
|