1{ batteries
2, buildDunePackage
3, cohttp-lwt-unix
4, fetchFromGitHub
5, lib
6, logs
7, yojson
8}:
9
10buildDunePackage rec {
11 pname = "telegraml";
12 version = "unstable-2021-06-17";
13
14 src = fetchFromGitHub {
15 owner = "nv-vn";
16 repo = "TelegraML";
17 rev = "3e28933a287e5eacd34c46b434c487f155397abc";
18 sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4=";
19 };
20
21 propagatedBuildInputs = [
22 batteries
23 cohttp-lwt-unix
24 logs
25 yojson
26 ];
27
28 meta = with lib; {
29 description = "An OCaml library implementing the Telegram bot API";
30 homepage = "https://github.com/nv-vn/TelegraML/";
31 license = licenses.mit;
32 maintainers = with maintainers; [ ];
33 };
34}