depot/third_party/nixpkgs/pkgs/development/ocaml-modules/domain-name/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

26 lines
649 B
Nix

{ lib, buildDunePackage, ocaml, fetchurl
, alcotest
}:
buildDunePackage rec {
pname = "domain-name";
version = "0.4.0";
src = fetchurl {
url = "https://github.com/hannesm/domain-name/releases/download/v${version}/domain-name-${version}.tbz";
sha256 = "sha256-pcBuIoRYlSAZc+gS/jAZJ00duBwKeHPabIAHxK0hCMU=";
};
minimalOCamlVersion = "4.04";
checkInputs = [ alcotest ];
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
homepage = "https://github.com/hannesm/domain-name";
description = "RFC 1035 Internet domain names";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}