nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation rec {
8 pname = "aha";
9 version = "0.5.1";
10
11 src = fetchFromGitHub {
12 sha256 = "1gywad0rvvz3c5balz8cxsnx0562hj2ngzqyr8zsy2mb4pn0lpgv";
13 rev = version;
14 repo = "aha";
15 owner = "theZiz";
16 };
17
18 makeFlags = [ "PREFIX=$(out)" ];
19
20 enableParallelBuilding = true;
21
22 meta = {
23 description = "ANSI HTML Adapter";
24 mainProgram = "aha";
25 longDescription = ''
26 aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
27 '';
28 homepage = "https://github.com/theZiz/aha";
29 changelog = "https://github.com/theZiz/aha/blob/${version}/CHANGELOG";
30 license = with lib.licenses; [
31 lgpl2Plus
32 mpl11
33 ];
34 maintainers = with lib.maintainers; [ pSub ];
35 platforms = lib.platforms.all;
36 };
37}