ocamlPackages.tty: init at 0.0.2

This commit is contained in:
Trent Small 2023-12-20 16:37:59 -07:00 committed by Vincent Laporte
parent f744895767
commit d17d1a370d
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildDunePackage
, fetchurl
, uutf
}:
buildDunePackage rec {
pname = "tty";
version = "0.0.2";
minimalOCamlVersion = "5.1";
src = fetchurl {
url = "https://github.com/leostera/tty/releases/download/${version}/tty-${version}.tbz";
hash = "sha256-eeD5Y+/QXZzFoEHvOSZj2Q74V8BK5j3Lu3Zsrj2YUUs=";
};
propagatedBuildInputs = [
uutf
];
doCheck = true;
meta = {
description = "A library for interacting with teletype and terminal emulators";
homepage = "https://github.com/leostera/tty";
changelog = "https://github.com/leostera/tty/blob/${version}/CHANGES.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sixstring982 ];
};
}

View file

@ -1783,6 +1783,8 @@ let
tsort = callPackage ../development/ocaml-modules/tsort { };
tty = callPackage ../development/ocaml-modules/tty { };
tuntap = callPackage ../development/ocaml-modules/tuntap { };
twt = callPackage ../development/ocaml-modules/twt { };