summary refs log tree commit diff
path: root/pkgs/tools/text/aha/default.nix
blob: a0be19607ea5ceba2549eaefba91d5d82717e4c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchFromGitHub }:

let version = "0.4.8"; in
stdenv.mkDerivation rec {
  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;
    downloadPage = https://github.com/theZiz/aha/releases;
    license = with licenses; [ lgpl2Plus mpl11 ];
    platforms = with platforms; linux;
    maintainers = with maintainers; [ nckx ];
  };

  makeFlags = "PREFIX=$(out)";

  enableParallelBuilding = true;
}