summary refs log blame commit diff
path: root/pkgs/tools/text/aha/default.nix
blob: 7eb1c022a959f75758fd79d4d241879a9c5b5db5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                            
                         
                          
                    







                                                                    



                                  
                           




                                                                              
                                                 
                                

                                             
 
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "aha-${version}";
  version = "0.4.8";

  src = fetchFromGitHub {
    sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
    rev = version;
    repo = "aha";
    owner = "theZiz";
  };

  makeFlags = [ "PREFIX=$(out)" ];

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    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 = platforms.linux;
    maintainers = with maintainers; [ nckx ];
  };
}