2019-08-24 09:02:11 +02:00
|
|
|
{ lib, buildDunePackage, fetchurl
|
|
|
|
, alcotest
|
|
|
|
, astring, fmt
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "domain-name";
|
|
|
|
version = "0.3.0";
|
|
|
|
|
2020-12-05 17:27:41 +01:00
|
|
|
useDune2 = true;
|
|
|
|
|
2019-08-24 09:02:11 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-v${version}.tbz";
|
|
|
|
sha256 = "12kc9p2a2fi1ipc2hyhbzivxpph3npglxwdgvhd6v20rqqdyvnad";
|
|
|
|
};
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.03";
|
|
|
|
|
2020-12-05 17:27:41 +01:00
|
|
|
checkInputs = [ alcotest ];
|
2019-08-24 09:02:11 +02:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ astring fmt ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hannesm/domain-name";
|
|
|
|
description = "RFC 1035 Internet domain names";
|
|
|
|
license = lib.licenses.isc;
|
|
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
|
|
};
|
|
|
|
}
|