2023-12-20 23:12:28 +00:00
|
|
|
{ lib
|
|
|
|
, buildDunePackage
|
|
|
|
, fetchurl
|
|
|
|
, riot
|
|
|
|
, tty
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "minttea";
|
2024-05-22 05:21:09 +00:00
|
|
|
version = "0.0.3";
|
2023-12-20 23:12:28 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "5.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${version}.tbz";
|
2024-05-22 05:21:09 +00:00
|
|
|
hash = "sha256-WEaJVCCvsmKcF8+yzovljt8dGWaIv4UmAr74jq6Vo9M=";
|
2023-12-20 23:12:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|