Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
850 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildDunePackage,
fetchurl,
alcotest,
domain-name,
duration,
gmap,
ipaddr,
logs,
lru,
metrics,
ptime,
fmt,
base64,
ohex,
}:
buildDunePackage rec {
pname = "dns";
version = "10.1.0";
minimalOCamlVersion = "4.13";
src = fetchurl {
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-${version}.tbz";
hash = "sha256-XG/qUUzsOccy5xdkZD6PuViN7gOMmRwYSsy+07QeN9I=";
};
propagatedBuildInputs = [
fmt
logs
ptime
domain-name
gmap
ipaddr
lru
duration
metrics
base64
ohex
];
doCheck = true;
checkInputs = [ alcotest ];
meta = {
description = "Domain Name System (DNS) library";
homepage = "https://github.com/mirage/ocaml-dns";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}