nixpkgs/pkgs/development/ocaml-modules/happy-eyeballs/mirage.nix
Vincent Laporte e2f0148a20 ocamlPackages.dns: 6.3.0 → 6.4.1
ocamlPackages.happy-eyeballs: 0.3.0 → 0.4.0
2023-01-12 17:56:25 +01:00

50 lines
693 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";
strictDeps = true;
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";
};
}