1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 riot,
6 tty,
7}:
8
9buildDunePackage rec {
10 pname = "minttea";
11 version = "0.0.3";
12
13 minimalOCamlVersion = "5.1";
14
15 src = fetchurl {
16 url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${version}.tbz";
17 hash = "sha256-WEaJVCCvsmKcF8+yzovljt8dGWaIv4UmAr74jq6Vo9M=";
18 };
19
20 propagatedBuildInputs = [
21 riot
22 tty
23 ];
24
25 meta = {
26 description = "Fun, functional, and stateful way to build terminal apps in OCaml heavily inspired by Go's BubbleTea";
27 homepage = "https://github.com/leostera/minttea";
28 changelog = "https://github.com/leostera/minttea/blob/${version}/CHANGES.md";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ sixstring982 ];
31 };
32}