depot/third_party/nixpkgs/pkgs/development/ocaml-modules/minttea/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

33 lines
781 B
Nix

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