2023-02-09 11:40:11 +00:00
|
|
|
{ buildDunePackage
|
|
|
|
, dns
|
|
|
|
, dns-mirage
|
|
|
|
, randomconv
|
|
|
|
, duration
|
|
|
|
, lwt
|
|
|
|
, mirage-time
|
|
|
|
, mirage-clock
|
|
|
|
, metrics
|
|
|
|
, alcotest
|
|
|
|
, mirage-crypto-rng
|
|
|
|
, dns-tsig
|
|
|
|
, base64
|
2021-01-05 17:05:55 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "dns-server";
|
|
|
|
|
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
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dns
|
|
|
|
dns-mirage
|
|
|
|
randomconv
|
|
|
|
duration
|
|
|
|
lwt
|
|
|
|
mirage-time
|
|
|
|
mirage-clock
|
|
|
|
metrics
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
alcotest
|
|
|
|
mirage-crypto-rng
|
|
|
|
dns-tsig
|
|
|
|
base64
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = dns.meta // {
|
|
|
|
description = "DNS server, primary and secondary";
|
|
|
|
};
|
|
|
|
}
|