nixpkgs/pkgs/tools/text/aha/default.nix

29 lines
684 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "aha";
2020-08-13 01:17:27 +01:00
version = "0.5.1";
src = fetchFromGitHub {
2020-08-13 01:17:27 +01:00
sha256 = "1gywad0rvvz3c5balz8cxsnx0562hj2ngzqyr8zsy2mb4pn0lpgv";
rev = version;
repo = "aha";
owner = "theZiz";
};
makeFlags = [ "PREFIX=$(out)" ];
enableParallelBuilding = true;
meta = with 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 ];
2018-07-16 20:57:23 +01:00
maintainers = with maintainers; [ pSub ];
2020-08-13 05:20:00 +01:00
platforms = platforms.all;
};
}