Files
nixpkgs/pkgs/development/ocaml-modules/domain-name/default.nix
2025-10-27 20:27:16 +01:00

28 lines
708 B
Nix

{
lib,
buildDunePackage,
fetchurl,
alcotest,
}:
buildDunePackage (finalAttrs: {
pname = "domain-name";
version = "0.5.0";
src = fetchurl {
url = "https://github.com/hannesm/domain-name/releases/download/v${finalAttrs.version}/domain-name-${finalAttrs.version}.tbz";
hash = "sha256-nseuLCJ3LBULhM+j8h2b8l+uFKeW8x4g31LYb0ZJnYk=";
};
doCheck = true;
checkInputs = [ alcotest ];
meta = {
homepage = "https://github.com/hannesm/domain-name";
changelog = "https://github.com/hannesm/domain-name/blob/v${finalAttrs.version}/CHANGES.md";
description = "RFC 1035 Internet domain names";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
})