nixpkgs-suyu/pkgs/development/ocaml-modules/dns/cli.nix
Théo Zimmermann 92d2950194 ocamlPackages.mirage-crypto: 0.10.7 -> 0.11.0
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2023-03-09 15:24:25 +01:00

50 lines
889 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, hex, ptime, mtime, logs, fmt, ipaddr, lwt
, randomconv, alcotest
}:
buildDunePackage {
pname = "dns-cli";
minimalOCamlVersion = "4.08";
inherit (dns) version src;
duneVersion = "3";
# 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
hex
ptime
mtime
logs
fmt
ipaddr
lwt
randomconv
];
doCheck = true;
checkInputs = [
alcotest
];
meta = dns.meta // {
description = "Unix command line utilities using uDNS";
mainProgram = "odns";
};
}