@@ -0,0 +1,30 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+let version = "0.4.8"; in
4+stdenv.mkDerivation rec {
5+ name = "aha-${version}";
6+
7+ src = fetchFromGitHub {
8+ sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
9+ rev = version;
10+ repo = "aha";
11+ owner = "theZiz";
12+ };
13+
14+ meta = with stdenv.lib; {
15+ inherit version;
16+ description = "ANSI HTML Adapter";
17+ longDescription = ''
18+ aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
19+ '';
20+ homepage = https://github.com/theZiz/aha;
21+ downloadPage = https://github.com/theZiz/aha/releases;
22+ license = with licenses; [ lgpl2Plus mpl11 ];
23+ platforms = with platforms; linux;
24+ maintainers = with maintainers; [ nckx ];
25+ };
26+
27+ makeFlags = "PREFIX=$(out)";
28+
29+ enableParallelBuilding = true;
30+}