2022-09-22 12:36:57 +00:00
|
|
|
{ buildDunePackage, dns, dns-tsig, dns-client, dns-server, dns-certify, dnssec
|
2022-07-14 12:49:19 +00:00
|
|
|
, bos, cmdliner, fpath, x509, mirage-crypto, mirage-crypto-pk
|
2021-01-05 17:05:55 +00:00
|
|
|
, mirage-crypto-rng, hex, ptime, mtime, logs, fmt, ipaddr, lwt
|
|
|
|
, randomconv, alcotest
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-cli";
|
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2022-07-14 12:49:19 +00:00
|
|
|
inherit (dns) version src;
|
2023-01-20 10:41:00 +00:00
|
|
|
duneVersion = "3";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
# no need to propagate as this is primarily
|
|
|
|
# an executable package
|
|
|
|
buildInputs = [
|
|
|
|
dns
|
|
|
|
dns-tsig
|
|
|
|
dns-client
|
|
|
|
dns-server
|
|
|
|
dns-certify
|
2022-09-22 12:36:57 +00:00
|
|
|
dnssec
|
2021-01-05 17:05:55 +00:00
|
|
|
bos
|
|
|
|
cmdliner
|
|
|
|
fpath
|
|
|
|
x509
|
|
|
|
mirage-crypto
|
|
|
|
mirage-crypto-pk
|
|
|
|
mirage-crypto-rng
|
|
|
|
hex
|
|
|
|
ptime
|
|
|
|
mtime
|
|
|
|
logs
|
|
|
|
fmt
|
|
|
|
ipaddr
|
|
|
|
lwt
|
|
|
|
randomconv
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
alcotest
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "Unix command line utilities using uDNS";
|
2022-06-16 17:23:12 +00:00
|
|
|
mainProgram = "odns";
|
2021-01-05 17:05:55 +00:00
|
|
|
};
|
|
|
|
}
|