2025-03-14 05:15:05 +01:00

39 lines
583 B
Nix

{
lib,
buildDunePackage,
macaddr,
domain-name,
stdlib-shims,
ounit2,
ppx_sexp_conv,
}:
buildDunePackage {
pname = "ipaddr";
inherit (macaddr) version src;
minimalOCamlVersion = "4.08";
duneVersion = "3";
propagatedBuildInputs = [
macaddr
domain-name
stdlib-shims
];
checkInputs = [
ppx_sexp_conv
ounit2
];
doCheck = true;
meta = macaddr.meta // {
description = "Library for manipulation of IP (and MAC) address representations";
maintainers = with lib.maintainers; [
alexfmpe
ericbmerritt
];
};
}