mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
92d2950194
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
48 lines
685 B
Nix
48 lines
685 B
Nix
{ buildDunePackage
|
|
, happy-eyeballs
|
|
, duration
|
|
, dns-client-mirage
|
|
, 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-mirage
|
|
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";
|
|
};
|
|
}
|