depot/third_party/nixpkgs/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

47 lines
671 B
Nix

{ buildDunePackage
, happy-eyeballs
, duration
, dns-client
, domain-name
, ipaddr
, fmt
, logs
, lwt
, mirage-clock
, mirage-random
, mirage-time
, tcpip
}:
buildDunePackage {
pname = "happy-eyeballs-mirage";
inherit (happy-eyeballs) src version;
minimalOCamlVersion = "4.08";
duneVersion = "3";
buildInputs = [
duration
ipaddr
domain-name
fmt
mirage-clock
mirage-random
mirage-time
];
propagatedBuildInputs = [
dns-client
happy-eyeballs
logs
lwt
tcpip
];
doCheck = true;
meta = happy-eyeballs.meta // {
description = "Connecting to a remote host via IP version 4 or 6 using Mirage";
};
}