ocamlPackages.dns: 6.1.4 -> 6.3.0

This commit is contained in:
Ulrik Strid 2022-09-21 16:10:35 +02:00 committed by Vincent Laporte
parent fd82ce6fae
commit 1ef96c2f24
5 changed files with 40 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ buildDunePackage, dns, dns-tsig, dns-client, dns-server, dns-certify
{ buildDunePackage, dns, dns-tsig, dns-client, 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
@ -19,6 +19,7 @@ buildDunePackage {
dns-client
dns-server
dns-certify
dnssec
bos
cmdliner
fpath

View file

@ -1,19 +1,20 @@
{ lib, buildDunePackage, fetchurl, alcotest
, cstruct, domain-name, duration, gmap, ipaddr, logs, lru, metrics, ptime, fmt
, base64
}:
buildDunePackage rec {
pname = "dns";
version = "6.1.4";
version = "6.3.0";
minimalOCamlVersion = "4.08";
src = fetchurl {
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-${version}.tbz";
sha256 = "sha256-nO9hRFOQzm3j57S1xTUC/j8ejSB+aDcsw/pOi893kHY=";
sha256 = "sha256-3EAjenN9EIi4PsXCZDevmEPDaS4xbESbcbB7pFgwc1E=";
};
propagatedBuildInputs = [ fmt logs ptime domain-name gmap cstruct ipaddr lru duration metrics ];
propagatedBuildInputs = [ fmt logs ptime domain-name gmap cstruct ipaddr lru duration metrics base64 ];
doCheck = true;
checkInputs = [ alcotest ];

View file

@ -0,0 +1,30 @@
{ buildDunePackage, cstruct, dns, mirage-crypto, mirage-crypto-pk, mirage-crypto-ec
, domain-name, logs
, alcotest, base64
}:
buildDunePackage {
pname = "dnssec";
inherit (dns) version src;
propagatedBuildInputs = [
cstruct
dns
mirage-crypto
mirage-crypto-pk
mirage-crypto-ec
domain-name
logs
];
doCheck = true;
checkInputs = [
alcotest
base64
];
meta = dns.meta // {
description = "DNSSec support for OCaml-DNS";
};
}

View file

@ -1,6 +1,6 @@
{ buildDunePackage, dns, dns-server, dns-mirage, lru, duration
, randomconv, lwt, mirage-time, mirage-clock, mirage-random
, tcpip, tls, tls-mirage
, tcpip, tls, tls-mirage, dnssec
, alcotest
}:
@ -13,6 +13,7 @@ buildDunePackage {
dns
dns-server
dns-mirage
dnssec
lru
duration
randomconv

View file

@ -319,6 +319,8 @@ let
dns-tsig = callPackage ../development/ocaml-modules/dns/tsig.nix { };
dnssec = callPackage ../development/ocaml-modules/dns/dnssec.nix { };
dolmen = callPackage ../development/ocaml-modules/dolmen { };
dolog = callPackage ../development/ocaml-modules/dolog { };