ocamlPackages.dns(-client): 4.5.0 -> 4.6.0
This commit is contained in:
parent
c9963a8ec4
commit
ff53f0930e
2 changed files with 11 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-time
|
||||
, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv }:
|
||||
, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv
|
||||
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "dns-client";
|
||||
|
@ -7,8 +8,11 @@ buildDunePackage {
|
|||
|
||||
useDune2 = true;
|
||||
|
||||
propagatedBuildInputs = [ dns mtime ocaml_lwt randomconv mirage-clock mirage-time
|
||||
mirage-random mirage-stack mirage-crypto-rng ];
|
||||
propagatedBuildInputs = [ cstruct fmt logs dns rresult randomconv domain-name ipaddr
|
||||
ocaml_lwt mirage-stack mirage-random mirage-time mirage-clock
|
||||
mtime mirage-crypto-rng ];
|
||||
checkInputs = [ alcotest ];
|
||||
doCheck = true;
|
||||
|
||||
meta = dns.meta // {
|
||||
description = "Pure DNS resolver API";
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
{ lib, buildDunePackage, fetchurl, alcotest
|
||||
, cstruct, domain-name, duration, gmap, ipaddr, logs, lru, metrics, ptime, rresult
|
||||
, cstruct, domain-name, duration, gmap, ipaddr, logs, lru, metrics, ptime, rresult, astring, fmt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dns";
|
||||
version = "4.5.0";
|
||||
version = "4.6.0";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-v${version}.tbz";
|
||||
sha256 = "10jrnnxvp06rvzk285wibyi9hn15qhjnqjy9xsfbwl8yhmzzqnq0";
|
||||
sha256 = "1gkswpc91j4ps60bp52ggg4qwj5g88f49x6p6d619p4x8vmhjylv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct domain-name duration gmap ipaddr logs lru metrics ptime rresult ];
|
||||
propagatedBuildInputs = [ rresult astring fmt logs ptime domain-name gmap cstruct ipaddr lru duration metrics ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
|
|
Loading…
Reference in a new issue