depot/third_party/nixpkgs/pkgs/development/ocaml-modules/minttea/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
760 B
Nix

{ 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 ];
};
}