2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildDunePackage
|
2020-07-18 16:06:22 +00:00
|
|
|
, macaddr, domain-name, stdlib-shims
|
2023-03-24 00:07:29 +00:00
|
|
|
, ounit2, ppx_sexp_conv
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ipaddr";
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
inherit (macaddr) version src;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
duneVersion = "3";
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
propagatedBuildInputs = [ macaddr domain-name stdlib-shims ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
checkInputs = [ ppx_sexp_conv ounit2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
meta = macaddr.meta // {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A library for manipulation of IP (and MAC) address representations ";
|
2020-07-18 16:06:22 +00:00
|
|
|
maintainers = with lib.maintainers; [ alexfmpe ericbmerritt ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|