at 23.11-beta 25 lines 695 B view raw
1{ lib, fetchurl, buildDunePackage, ocaml 2, ppx_sexp_conv, ounit2 3}: 4 5buildDunePackage rec { 6 pname = "macaddr"; 7 version = "5.4.0"; 8 9 minimalOCamlVersion = "4.04"; 10 11 src = fetchurl { 12 url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz"; 13 hash = "sha256-WmYpG/cQtF9+lVDs1WIievUZ1f7+iZ2hufsdD1HHNeo="; 14 }; 15 16 checkInputs = [ ppx_sexp_conv ounit2 ]; 17 doCheck = lib.versionAtLeast ocaml.version "4.08"; 18 19 meta = with lib; { 20 homepage = "https://github.com/mirage/ocaml-ipaddr"; 21 description = "A library for manipulation of MAC address representations"; 22 license = licenses.isc; 23 maintainers = [ maintainers.alexfmpe ]; 24 }; 25}