pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / ocaml-modules / dns / default.nix
blobbcc67a6f6ebf967686c43f9b02f8ffd46d829773
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , alcotest
5 , domain-name
6 , duration
7 , gmap
8 , ipaddr
9 , logs
10 , lru
11 , metrics
12 , ptime
13 , fmt
14 , base64
15 , ohex
18 buildDunePackage rec {
19   pname = "dns";
20   version = "9.1.0";
22   minimalOCamlVersion = "4.13";
24   src = fetchurl {
25     url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-${version}.tbz";
26     hash = "sha256-jz7JWs8U9XQhm1RAponq4azCpJyx2KBm+bI6esaPRPA=";
27   };
29   propagatedBuildInputs = [ fmt logs ptime domain-name gmap ipaddr lru duration metrics base64 ohex ];
31   doCheck = true;
32   checkInputs = [ alcotest ];
34   meta = {
35     description = "Domain Name System (DNS) library";
36     homepage = "https://github.com/mirage/ocaml-dns";
37     license = lib.licenses.bsd2;
38     maintainers = [ lib.maintainers.vbgl ];
39   };