1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 uutf,
6}:
7
8buildDunePackage rec {
9 pname = "tty";
10 version = "0.0.2";
11
12 minimalOCamlVersion = "5.1";
13
14 src = fetchurl {
15 url = "https://github.com/leostera/tty/releases/download/${version}/tty-${version}.tbz";
16 hash = "sha256-eeD5Y+/QXZzFoEHvOSZj2Q74V8BK5j3Lu3Zsrj2YUUs=";
17 };
18
19 propagatedBuildInputs = [
20 uutf
21 ];
22
23 doCheck = true;
24
25 meta = {
26 description = "Library for interacting with teletype and terminal emulators";
27 homepage = "https://github.com/leostera/tty";
28 changelog = "https://github.com/leostera/tty/blob/${version}/CHANGES.md";
29 license = lib.licenses.mit;
30 maintainers = with lib.maintainers; [ sixstring982 ];
31 };
32}