ocamlPackages.telegraml: init unstable-2021-06-17

This commit is contained in:
superherointj 2022-05-13 09:55:12 -03:00 committed by Vincent Laporte
parent 41989e91de
commit 02bd4336d9
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ batteries
, buildDunePackage
, cohttp-lwt-unix
, fetchFromGitHub
, lib
, logs
, yojson
}:
buildDunePackage rec {
pname = "telegraml";
version = "unstable-2021-06-17";
src = fetchFromGitHub {
owner = "nv-vn";
repo = "TelegraML";
rev = "3e28933a287e5eacd34c46b434c487f155397abc";
sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4=";
};
propagatedBuildInputs = [
batteries
cohttp-lwt-unix
logs
yojson
];
meta = with lib; {
description = "An OCaml library implementing the Telegram bot API";
homepage = "https://github.com/nv-vn/TelegraML/";
license = licenses.mit;
maintainers = with maintainers; [ superherointj ];
};
}

View file

@ -1344,6 +1344,8 @@ let
tcslib = callPackage ../development/ocaml-modules/tcslib { };
telegraml = callPackage ../development/ocaml-modules/telegraml { };
terminal = callPackage ../development/ocaml-modules/terminal { };
terminal_size = callPackage ../development/ocaml-modules/terminal_size { };