diff options
author | Trent Small <sixstring982@gmail.com> | 2023-12-20 16:12:28 -0700 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-12-22 07:37:29 +0100 |
commit | a4fcc87af0bb09d6f95339625c89737120ee2c23 (patch) | |
tree | c53e231197591037952f5d529ff8b28cd63aee28 /pkgs/development/ocaml-modules | |
parent | 1bf9271a0964562836d579a3378b6b17de366caa (diff) | |
download | nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.tar nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.tar.gz nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.tar.bz2 nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.tar.lz nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.tar.xz nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.tar.zst nixlib-a4fcc87af0bb09d6f95339625c89737120ee2c23.zip |
ocamlPackages.minttea: init at 0.0.1
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/minttea/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/minttea/default.nix b/pkgs/development/ocaml-modules/minttea/default.nix new file mode 100644 index 000000000000..8d81317edd1f --- /dev/null +++ b/pkgs/development/ocaml-modules/minttea/default.nix @@ -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 ]; + }; +} |