ocamlPackages.tty: init at 0.0.2
This commit is contained in:
parent
f744895767
commit
d17d1a370d
2 changed files with 33 additions and 0 deletions
31
pkgs/development/ocaml-modules/tty/default.nix
Normal file
31
pkgs/development/ocaml-modules/tty/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue