Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
45 lines
643 B
Nix
45 lines
643 B
Nix
{ buildDunePackage
|
|
, happy-eyeballs
|
|
, duration
|
|
, 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 = [
|
|
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";
|
|
};
|
|
}
|