ocamlPackages.minttea: init at 0.0.1

This commit is contained in:
Trent Small 2023-12-20 16:12:28 -07:00 committed by Vincent Laporte
parent 1bf9271a09
commit a4fcc87af0
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ lib
, buildDunePackage
, fetchurl
, riot
, tty
}:
buildDunePackage rec {
pname = "minttea";
version = "0.0.1";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/leostera/minttea/releases/download/${version}/minttea-${version}.tbz";
hash = "sha256-+4nVeYKx2A2i2nll/PbStcEa+Dvxd0T7e/KsdJqY4bI=";
};
propagatedBuildInputs = [
riot
tty
];
doCheck = true;
meta = {
description = "A 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 ];
};
}

View File

@ -1074,6 +1074,8 @@ let
minisat = callPackage ../development/ocaml-modules/minisat { };
minttea = callPackage ../development/ocaml-modules/minttea { };
mirage = callPackage ../development/ocaml-modules/mirage { };
mirage-block = callPackage ../development/ocaml-modules/mirage-block { };