Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 batteries, 3 buildDunePackage, 4 cohttp-lwt-unix, 5 fetchFromGitHub, 6 lib, 7 logs, 8 yojson, 9}: 10 11buildDunePackage { 12 pname = "telegraml"; 13 version = "unstable-2021-06-17"; 14 15 src = fetchFromGitHub { 16 owner = "nv-vn"; 17 repo = "TelegraML"; 18 rev = "3e28933a287e5eacd34c46b434c487f155397abc"; 19 sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4="; 20 }; 21 22 postPatch = '' 23 substituteInPlace src/dune --replace batteries batteries.unthreaded 24 ''; 25 26 propagatedBuildInputs = [ 27 batteries 28 cohttp-lwt-unix 29 logs 30 yojson 31 ]; 32 33 meta = with lib; { 34 description = "OCaml library implementing the Telegram bot API"; 35 homepage = "https://github.com/nv-vn/TelegraML/"; 36 license = licenses.mit; 37 maintainers = [ ]; 38 }; 39}