2020-07-18 16:06:22 +00:00
|
|
|
{ lib, buildDunePackage
|
|
|
|
, macaddr, ppx_sexp_conv, macaddr-cstruct, ounit
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildDunePackage {
|
|
|
|
pname = "macaddr-sexp";
|
|
|
|
|
|
|
|
inherit (macaddr) version src minimumOCamlVersion;
|
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
propagatedBuildInputs = [ ppx_sexp_conv ];
|
|
|
|
|
|
|
|
checkInputs = [ macaddr-cstruct ounit ];
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = macaddr.meta // {
|
|
|
|
description = "A library for manipulation of MAC address representations using sexp";
|
|
|
|
};
|
|
|
|
}
|