about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/dns/tsig.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/dns/tsig.nix')
-rw-r--r--nixpkgs/pkgs/development/ocaml-modules/dns/tsig.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/dns/tsig.nix b/nixpkgs/pkgs/development/ocaml-modules/dns/tsig.nix
new file mode 100644
index 000000000000..11786a21e0dc
--- /dev/null
+++ b/nixpkgs/pkgs/development/ocaml-modules/dns/tsig.nix
@@ -0,0 +1,22 @@
+{ buildDunePackage, dns, mirage-crypto, base64, alcotest }:
+
+buildDunePackage {
+  pname = "dns-tsig";
+
+  inherit (dns) version src useDune2 minimumOCamlVersion;
+
+  propagatedBuildInputs = [
+    mirage-crypto
+    dns
+    base64
+  ];
+
+  doCheck = true;
+  checkInputs = [
+    alcotest
+  ];
+
+  meta = dns.meta // {
+    description = "TSIG support for DNS";
+  };
+}