about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/minttea/default.nix
blob: 07084c12c87694436a6a04c8874d916d0a89a9f3 (plain) (blame)
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
{ lib
, buildDunePackage
, fetchurl
, riot
, tty
}:

buildDunePackage rec {
  pname = "minttea";
  version = "0.0.3";

  minimalOCamlVersion = "5.1";

  src = fetchurl {
    url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${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/${version}/CHANGES.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sixstring982 ];
  };
}