e2f0148a20
ocamlPackages.happy-eyeballs: 0.3.0 → 0.4.0
30 lines
804 B
Nix
30 lines
804 B
Nix
{ lib, buildDunePackage, fetchurl, alcotest
|
|
, cstruct, domain-name, duration, gmap, ipaddr, logs, lru, metrics, ptime, fmt
|
|
, base64
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "dns";
|
|
version = "6.4.1";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-${version}.tbz";
|
|
hash = "sha256-omG0fKZAHGc+4ERC8cyK47jeEkiBZkB+1fz46j6SDno=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ fmt logs ptime domain-name gmap cstruct ipaddr lru duration metrics base64 ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
|
|
meta = {
|
|
description = "An Domain Name System (DNS) library";
|
|
homepage = "https://github.com/mirage/ocaml-dns";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
|
|
}
|