Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 27 lines 670 B view raw
1{ lib, buildDunePackage, ocaml, fetchurl 2, alcotest 3}: 4 5buildDunePackage rec { 6 pname = "domain-name"; 7 version = "0.4.0"; 8 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 }; 13 14 minimalOCamlVersion = "4.04"; 15 duneVersion = "3"; 16 17 checkInputs = [ alcotest ]; 18 19 doCheck = lib.versionAtLeast ocaml.version "4.08"; 20 21 meta = { 22 homepage = "https://github.com/hannesm/domain-name"; 23 description = "RFC 1035 Internet domain names"; 24 license = lib.licenses.isc; 25 maintainers = [ lib.maintainers.vbgl ]; 26 }; 27}