diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/aha/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/text/aha/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/aha/default.nix b/nixpkgs/pkgs/tools/text/aha/default.nix new file mode 100644 index 000000000000..4ac07cef7eed --- /dev/null +++ b/nixpkgs/pkgs/tools/text/aha/default.nix @@ -0,0 +1,28 @@ +{ 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"; + 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; + }; +} |