earbuds: disable updateScript (#374592)
[NixPkgs.git] / pkgs / development / ocaml-modules / telegraml / default.nix
blob23ce695840bc0d48153bc755722b3ec5de7cdf6b
2   batteries,
3   buildDunePackage,
4   cohttp-lwt-unix,
5   fetchFromGitHub,
6   lib,
7   logs,
8   yojson,
9 }:
11 buildDunePackage rec {
12   pname = "telegraml";
13   version = "unstable-2021-06-17";
15   src = fetchFromGitHub {
16     owner = "nv-vn";
17     repo = "TelegraML";
18     rev = "3e28933a287e5eacd34c46b434c487f155397abc";
19     sha256 = "sha256-2bMHARatwl8Zl/fWppvwbH6Ut+igJVKzwyQb8Q4gem4=";
20   };
22   postPatch = ''
23     substituteInPlace src/dune --replace batteries batteries.unthreaded
24   '';
26   propagatedBuildInputs = [
27     batteries
28     cohttp-lwt-unix
29     logs
30     yojson
31   ];
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   };