summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/minttea/default.nix
blob: 0d6bf937993d8326c522943be2d836fa3a9500e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildDunePackage,
  fetchurl,
  riot,
  tty,
}:

buildDunePackage (finalAttrs: {
  pname = "minttea";
  version = "0.0.3";

  minimalOCamlVersion = "5.1";

  src = fetchurl {
    url = "https://github.com/leostera/minttea/releases/download/${finalAttrs.version}/minttea-${finalAttrs.version}.tbz";
    hash = "sha256-WEaJVCCvsmKcF8+yzovljt8dGWaIv4UmAr74jq6Vo9M=";
  };

  propagatedBuildInputs = [
    riot
    tty
  ];

  meta = {
    description = "Fun, functional, and stateful way to build terminal apps in OCaml heavily inspired by Go's BubbleTea";
    homepage = "https://github.com/leostera/minttea";
    changelog = "https://github.com/leostera/minttea/blob/${finalAttrs.version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sixstring982 ];
  };
})