ocamlPackages.dns: init at 4.4.1
This commit is contained in:
parent
b70b03272a
commit
e021f27d75
28
pkgs/development/ocaml-modules/dns/default.nix
Normal file
28
pkgs/development/ocaml-modules/dns/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, buildDunePackage, fetchurl, alcotest
|
||||
, cstruct, domain-name, duration, gmap, ipaddr, logs, lru, metrics, ptime, rresult
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "dns";
|
||||
version = "4.4.1";
|
||||
|
||||
minimumOCamlVersion = "4.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-v${version}.tbz";
|
||||
sha256 = "18c09jf0kicv2xz40n367y774rg8qs07rr1vdk8bx8f7hnaa9cn8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cstruct domain-name duration gmap ipaddr logs lru metrics ptime rresult ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
|
||||
meta = {
|
||||
description = "An Domain Name System (DNS) library";
|
||||
homepage = "https://github.com/mirage/ocaml-dns";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
|
||||
}
|
@ -214,6 +214,8 @@ let
|
||||
|
||||
dispatch = callPackage ../development/ocaml-modules/dispatch { };
|
||||
|
||||
dns = callPackage ../development/ocaml-modules/dns { };
|
||||
|
||||
dolmen = callPackage ../development/ocaml-modules/dolmen { };
|
||||
|
||||
dolog = callPackage ../development/ocaml-modules/dolog { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user