about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/happy-eyeballs/lwt.nix
blob: 50f1f94557395a63a0453dde6ee62c9d9d1a08fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ buildDunePackage
, happy-eyeballs
, cmdliner
, dns-client
, duration
, domain-name
, ipaddr
, fmt
, logs
, lwt
, mtime
}:

buildDunePackage {
  pname = "happy-eyeballs-lwt";

  inherit (happy-eyeballs) src version;

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  buildInputs = [
    cmdliner
    duration
    domain-name
    ipaddr
    fmt
    mtime
  ];

  propagatedBuildInputs = [
    dns-client
    happy-eyeballs
    logs
    lwt
  ];

  doCheck = true;

  meta = happy-eyeballs.meta // {
    mainProgram = "happy_eyeballs_client";
    description = "Connecting to a remote host via IP version 4 or 6 using Lwt_unix";
  };
}