2019-12-29 19:40:36 +00:00
|
|
|
{ lib, buildDunePackage
|
2020-06-25 22:22:21 +01:00
|
|
|
, macaddr, domain-name, stdlib-shims
|
|
|
|
, ounit, ppx_sexp_conv
|
2019-12-29 19:40:36 +00:00
|
|
|
}:
|
2015-05-15 15:35:42 +01:00
|
|
|
|
2018-11-05 10:21:46 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ipaddr";
|
2015-05-15 15:35:42 +01:00
|
|
|
|
2020-11-19 06:36:38 +00:00
|
|
|
inherit (macaddr) version src useDune2 minimumOCamlVersion;
|
2019-12-29 19:40:36 +00:00
|
|
|
|
2020-06-25 22:22:21 +01:00
|
|
|
propagatedBuildInputs = [ macaddr domain-name stdlib-shims ];
|
2015-05-15 15:35:42 +01:00
|
|
|
|
2020-06-25 22:22:21 +01:00
|
|
|
checkInputs = [ ppx_sexp_conv ounit ];
|
2019-12-29 19:40:36 +00:00
|
|
|
doCheck = true;
|
2015-05-15 15:35:42 +01:00
|
|
|
|
2020-06-25 22:22:21 +01:00
|
|
|
meta = macaddr.meta // {
|
2015-05-15 15:35:42 +01:00
|
|
|
description = "A library for manipulation of IP (and MAC) address representations ";
|
2020-06-25 22:22:21 +01:00
|
|
|
maintainers = with lib.maintainers; [ alexfmpe ericbmerritt ];
|
2015-05-15 15:35:42 +01:00
|
|
|
};
|
|
|
|
}
|