python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / domain-name / default.nix
blobafbfbb66391b247c3031bf919d2a5cdf031837a1
1 { lib, buildDunePackage, ocaml, fetchurl
2 , alcotest
3 }:
5 buildDunePackage rec {
6   pname = "domain-name";
7   version = "0.4.0";
9   src = fetchurl {
10     url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-${version}.tbz";
11     sha256 = "sha256-pcBuIoRYlSAZc+gS/jAZJ00duBwKeHPabIAHxK0hCMU=";
12   };
14   minimalOCamlVersion = "4.04";
16   checkInputs = [ alcotest ];
18   doCheck = lib.versionAtLeast ocaml.version "4.08";
20   meta = {
21     homepage = "https://github.com/hannesm/domain-name";
22     description = "RFC 1035 Internet domain names";
23     license = lib.licenses.isc;
24     maintainers = [ lib.maintainers.vbgl ];
25   };