git.iko.soy/typeable/nixpkgs
on master help sign in
Add aha 0.4.8: quick & dirty ANSI-to-HTML converter
commit999241a90721817bb3dd9c6e464974d201638be9 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateTue 28 Apr 2015, 00:10 (12 years ago) parent4f0b6fa
2 files changed+32
pkgs/tools/text/aha/default.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/tools/text/aha/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+let version = "0.4.8"; in
4+stdenv.mkDerivation rec {
5+ name = "aha-${version}";
6+
7+ src = fetchFromGitHub {
8+ sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
9+ rev = version;
10+ repo = "aha";
11+ owner = "theZiz";
12+ };
13+
14+ meta = with stdenv.lib; {
15+ inherit version;
16+ description = "ANSI HTML Adapter";
17+ longDescription = ''
18+ aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
19+ '';
20+ homepage = https://github.com/theZiz/aha;
21+ downloadPage = https://github.com/theZiz/aha/releases;
22+ license = with licenses; [ lgpl2Plus mpl11 ];
23+ platforms = with platforms; linux;
24+ maintainers = with maintainers; [ nckx ];
25+ };
26+
27+ makeFlags = "PREFIX=$(out)";
28+
29+ enableParallelBuilding = true;
30+}
pkgs/top-level/all-packages.nix+2
@@ -499,6 +499,8 @@ let
499499
500500 afl = callPackage ../tools/security/afl { };
501501
502+ aha = callPackage ../tools/text/aha { };
503+
502504 ahcpd = callPackage ../tools/networking/ahcpd { };
503505
504506 aiccu = callPackage ../tools/networking/aiccu { };