Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 duneVersion = "3";
14
15 src = fetchFromGitHub {
16 owner = "nv-vn";
17 repo = "TelegraML";
18 rev = "3e28933a287e5eacd34c46b434c487f155397abc";
19 sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4=";
20 };
21
22 propagatedBuildInputs = [
23 batteries
24 cohttp-lwt-unix
25 logs
26 yojson
27 ];
28
29 meta = with lib; {
30 description = "An OCaml library implementing the Telegram bot API";
31 homepage = "https://github.com/nv-vn/TelegraML/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ ];
34 };
35}