depot/third_party/nixpkgs/pkgs/development/ocaml-modules/dns/cli.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

49 lines
870 B
Nix

{ buildDunePackage, dns, dns-tsig, dns-client-lwt, dns-server, dns-certify, dnssec
, bos, cmdliner, fpath, x509, mirage-crypto, mirage-crypto-pk
, mirage-crypto-rng, ohex, ptime, mtime, logs, fmt, ipaddr, lwt
, randomconv, alcotest
}:
buildDunePackage {
pname = "dns-cli";
minimalOCamlVersion = "4.08";
inherit (dns) version src;
# no need to propagate as this is primarily
# an executable package
buildInputs = [
dns
dns-tsig
dns-client-lwt
dns-server
dns-certify
dnssec
bos
cmdliner
fpath
x509
mirage-crypto
mirage-crypto-pk
mirage-crypto-rng
ohex
ptime
mtime
logs
fmt
ipaddr
lwt
randomconv
];
doCheck = true;
checkInputs = [
alcotest
];
meta = dns.meta // {
description = "Unix command line utilities using uDNS";
mainProgram = "odns";
};
}