about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/aha/default.nix
blob: 2344602a276c18eadda6a6ed52688d59efdcca1a (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
{ 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";
    license = with licenses; [ lgpl2Plus mpl11 ];
    maintainers = with maintainers; [ pSub ];
    platforms = platforms.all;
  };
}