lol
1{ stdenv, fetchFromGitHub }:
2
3let version = "0.4.8"; in
4stdenv.mkDerivation {
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 license = with licenses; [ lgpl2Plus mpl11 ];
22 platforms = with platforms; linux;
23 maintainers = with maintainers; [ nckx ];
24 };
25
26 makeFlags = "PREFIX=$(out)";
27
28 enableParallelBuilding = true;
29}